AndrewWalker / pydubins

Python wrapper of the C version of the Dubins-Curves library
MIT License
72 stars 54 forks source link

pip install fails due to missing README.rst #2

Closed trainman419 closed 10 years ago

trainman419 commented 10 years ago

With the latest version (0.8.1) I'm now seeing this error on installation:

$ sudo pip install dubins
Password:
Downloading/unpacking dubins
  Downloading dubins-0.8.1.tar.gz
  Running setup.py egg_info for package dubins
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/private/tmp/pip_build_root/dubins/setup.py", line 40, in <module>
        long_description = read('README.rst'),
      File "/private/tmp/pip_build_root/dubins/setup.py", line 32, in read
        contents = open(path).read()
    IOError: [Errno 2] No such file or directory: '/private/tmp/pip_build_root/dubins/README.rst'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/private/tmp/pip_build_root/dubins/setup.py", line 40, in <module>

    long_description = read('README.rst'),

  File "/private/tmp/pip_build_root/dubins/setup.py", line 32, in read

    contents = open(path).read()

IOError: [Errno 2] No such file or directory: '/private/tmp/pip_build_root/dubins/README.rst'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/dubins
Storing complete log in /Users/austin.hendrix/Library/Logs/pip.log
trainman419 commented 10 years ago

It looks like you need to add README.rst to the data_files arg to setup() as described on http://docs.python.org/2/distutils/setupscript.html#installing-additional-files

AndrewWalker commented 10 years ago

Package manifest updated, fixed in 5cb61e9, broken version on pypi replaced

trainman419 commented 10 years ago

Confirmed fixed! Thanks!