axiak / pyre2

Python wrapper for RE2
BSD 3-Clause "New" or "Revised" License
295 stars 39 forks source link

PyPI package broken? #9

Closed yang closed 12 years ago

yang commented 12 years ago
~/pod/sales$ pip install re2
Downloading/unpacking re2
  Running setup.py egg_info for package re2
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/yang/.virtualenvs/pod/build/re2/setup.py", line 66, in <module>
        long_description=get_long_description(),
      File "/home/yang/.virtualenvs/pod/build/re2/setup.py", line 50, in get_long_description
        readme_f = open(os.path.join(BASE_DIR, "README.rst"))
    IOError: [Errno 2] No such file or directory: '/home/yang/.virtualenvs/pod/build/re2/README.rst'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/yang/.virtualenvs/pod/build/re2/setup.py", line 66, in <module>

    long_description=get_long_description(),

  File "/home/yang/.virtualenvs/pod/build/re2/setup.py", line 50, in get_long_description

    readme_f = open(os.path.join(BASE_DIR, "README.rst"))

IOError: [Errno 2] No such file or directory: '/home/yang/.virtualenvs/pod/build/re2/README.rst'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/yang/.pip/pip.log
Traceback (most recent call last):
  File "/home/yang/.virtualenvs/pod/bin/pip", line 8, in <module>
    load_entry_point('pip==1.0.2', 'console_scripts', 'pip')()
  File "/home/yang/.virtualenvs/pod/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/__init__.py", line 116, in main
    return command.main(initial_args, args[1:], options)
  File "/home/yang/.virtualenvs/pod/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/basecommand.py", line 151, in main
    log_fp = open_logfile(log_fn, 'w')
  File "/home/yang/.virtualenvs/pod/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/basecommand.py", line 180, in open_logfile
    log_fp = open(filename, mode)
IOError: [Errno 13] Permission denied: '/home/yang/.pip/pip.log'
axiak commented 12 years ago

Thanks for the info. Python 2.7.1 changes behavior regarding MANIFEST, which breaks this (they revert the behavior in 2.7.3, but I have 2.7.1 installed).

Anyway, version 0.2.20 is released with a working MANIFEST file and pip install works locally. If it doesn't work, be sure you remove any cached re2 build information in your build/ directory.

yang commented 12 years ago

Awesome, thanks.