Originally Posted by
MakOwner
Code:
Downloading http://pypi.python.org/packages/any/g/grizzled-python/grizzled-python-1.0.3.linux-x86_64.tar.gz#md5=dcd4e2506db7320d215eefcd2b16c17f
Processing grizzled-python-1.0.3.linux-x86_64.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-epn7M4/grizzled-python-1.0.3.linux-x86_64.tar.gz
On to other things for the day.
This is on Centos 6.2, by the way, so no easy apt repository to use.
That install script isn't working properly (I see similar errors with easy_install and the git repo). The work around for me was to install grizzled by itself, then remove the dependency from the setup.py file.
Code:
easy_install grizzled
Then, remove this line from your setup.py file.
Code:
install_requires = ['grizzled-python>=1.0', ],
Now, you should be able to get this working from the paragrep git download by running this again.
Code:
python setup.py install
I have it working now.
Code:
root@test:~# paragrep
paragrep: error: Not enough arguments.
Not enough arguments.
Usage:
paragrep [-aiov] [-p EOP_REGEXP] [-e REGEXP] ... [-f EXP_FILE] ... [file] ...
-OR-
paragrep [-iv] [-p EOP_REGEXP] regexp [file] ...
Options:
--version show program's version number and exit
-h, --help Show this message and exit.
-a, --and Logically AND all regular expressions.
-e regexp, --regexp=regexp, --expr=regexp
Specify a regular expression to find.This option may
be specified multiple times.
-f exprfile, --file=exprfile
Specify a file full of regular expressions, one per
line.
-i, --caseblind Match without regard to case.
-o, --or Logically OR all regular expressions.
-p eop_regexp, --eop=eop_regexp
Specify an alternate regular expression to match end-
of-paragraph. Default: ^\s*$
-P, --print-eop Print the line that marks the end of each paragraph.
Default: False
-v, --negate Negate the sense of the match.
Hope that helps.
Bookmarks