Skip to content

Commit

Permalink
renamed 'cmd' module to 'cmdutils' to avoid module name conflict with…
Browse files Browse the repository at this point in the history
… native python 'cmd'.

The conflict was preventing yum from working on EC2
  • Loading branch information
zigeuner committed May 28, 2014
1 parent 5183c34 commit d2412ce
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Examples
Packages
--------

### `cmd`
### `cmdutils`
* Unix-like command line utilities. Filters (read from stdin/write to stdout) for files.
* Focus on stream processing and csv files.

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test-common:
$(PYTHON) -m $(UNITTEST) discover -s $(TESTDIR) -p '*common*' -v

test-cmd:
$(PYTHON) -m $(UNITTEST) discover -s $(TESTDIR) -p '*cmd*' -v
$(PYTHON) -m $(UNITTEST) discover -s $(TESTDIR) -p '*cmdutils*' -v

trailing-spaces:
find rosetta -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rosetta/tests/test_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from StringIO import StringIO
from numpy.testing import assert_allclose

from rosetta.cmd import concat_csv, join_csv, subsample, cut, row_filter, \
from rosetta.cmdutils import concat_csv, join_csv, subsample, cut, row_filter, \
groupby_reduce


Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"processing")

SCRIPTS = [
'rosetta/cmd/' + name for name in
'rosetta/cmdutils/' + name for name in
['concat_csv.py', 'cut.py', 'join_csv.py',
'row_filter.py', 'split.py', 'subsample.py',
'files_to_vw.py', 'filter_sfile.py', 'groupby_reduce.py']]

PACKAGES = ['rosetta'] + [
'rosetta.' + name for name in
['cmd', 'modeling', 'parallel', 'text', 'workflow']]
['cmdutils', 'modeling', 'parallel', 'text', 'workflow']]


#PY_MODULES = ['rosetta'] + [
# 'rosetta/' + name for name in
# ['cmd', 'modeling', 'parallel', 'text', 'workflow']]
# ['cmdutils', 'modeling', 'parallel', 'text', 'workflow']]


setup(
Expand Down

0 comments on commit d2412ce

Please sign in to comment.