Closed PaulPrice closed 11 years ago
The 'with' statement is used in many places within gitifyhg. You should upgrade your Python.
On Wed, Mar 13, 2013 at 5:49 PM, Paul Price notifications@github.comwrote:
Believe it or not, I have a CentOS system that uses python 2.4, and "easy_install gitifyhg" requires path.py, which does not install for python 2.4:
Searching for path.py Reading http://pypi.python.org/simple/path.py/ Page at http://pypi.python.org/simple/path.py/ links to .py file(s) without version info; an index scan is required. Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Reading http://github.com/jaraco/path.py Reading http://www.jorendorff.com/articles/python/path Download error: (-2, 'Name or service not known') -- Some packages may not be found! Reading http://www.jorendorff.com/articles/python/path/ Download error: (-2, 'Name or service not known') -- Some packages may not be found! Reading http://github.com/dottedmag/path.py Reading http://github.com/dottedmag/celery/tarball/2.2.2 Best match: path.py 3.0.1 Downloading http://pypi.python.org/packages/source/p/path.py/path.py-3.0.1.zip#md5=12dc60ddc03360d4f1b05b1a3a6f02bf Processing path.py-3.0.1.zip Running path.py-3.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8NNc1z/path.py-3.0.1/egg-dist-tmp-kBMX1A Traceback (most recent call last): [...] File "/home/price/local/Linux.x86_64/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", line 64, in
{'file':setup_script, 'name':'main'} File "setup.py", line 10 with open('README.rst') as ld_file: ^ SyntaxError: invalid syntax Please consider removing the path.py requirement (it looks to be 'only' a wrapper) so you can support python 2.4.
— Reply to this email directly or view it on GitHubhttps://github.com/buchuki/gitifyhg/issues/57 .
It's on a cluster. ): Guess I'll have to build my own python.... Yeah, that works. Might make things a bit more difficult in cron scripts etc, but I'll make it work. Thanks!
Not harder at all. As with any package, just use ~/path/to/python2.7 setup.py install --prefix=....
.
Believe it or not, I have a CentOS system that uses python 2.4, and "easy_install gitifyhg" requires path.py, which does not install for python 2.4:
Please consider removing the path.py requirement (it looks to be 'only' a wrapper) so you can support python 2.4.