Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: ‘README.md’ #1

Closed
kseistrup opened this issue Feb 24, 2013 · 5 comments
Closed

No such file or directory: ‘README.md’ #1

kseistrup opened this issue Feb 24, 2013 · 5 comments

Comments

@kseistrup
Copy link

This happens with python 2.7.3 on linux 3.2.0:

$ sudo pip install gitinit
Downloading/unpacking gitinit
  Running setup.py egg_info for package gitinit
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-build/gitinit/setup.py", line 19, in <module>
        long_description=read('README.md'),
      File "/tmp/pip-build/gitinit/setup.py", line 6, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    IOError: [Errno 2] No such file or directory: '/tmp/pip-build/gitinit/README.md'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/tmp/pip-build/gitinit/setup.py", line 19, in <module>

    long_description=read('README.md'),

  File "/tmp/pip-build/gitinit/setup.py", line 6, in read

    return open(os.path.join(os.path.dirname(__file__), fname)).read()

IOError: [Errno 2] No such file or directory: '/tmp/pip-build/gitinit/README.md'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/gitinit
@iambibhas
Copy link
Owner

There was a bug with Manifest and README file wasn't being included. I think I've fixed it. Try now.

@kseistrup
Copy link
Author

I have the same issue with 1.0.4.

$ cd /tmp/pip-build/gitinit
$ ls -l
total 16
drwxr-xr-x 3 root root  100 Feb 24 09:06 gitinit
drwxr-xr-x 2 root root  140 Feb 24 09:06 gitinit.egg-info
-rw-r--r-- 1 root root   91 Feb 24 09:06 MANIFEST.in
drwxr-xr-x 2 root root   40 Feb 24 09:06 pip-egg-info
-rw-r--r-- 1 root root 1194 Feb 24 09:06 PKG-INFO
-rw-r--r-- 1 root root   59 Feb 24 09:06 setup.cfg
-rw-r--r-- 1 root root  999 Feb 24 09:06 setup.py

No README.md…

@iambibhas
Copy link
Owner

Is it still failing? I checked my xubuntu system -

Downloading/unpacking gitinit
  Downloading gitinit-1.0.4.tar.gz
  Running setup.py egg_info for package gitinit

Installing collected packages: gitinit
  Running setup.py install for gitinit

    Installing gitinit script to /usr/local/bin
Successfully installed gitinit
Cleaning up...

@kseistrup
Copy link
Author

Oh, I'm sorry — it seems pip noticed the previous /tmp/pip-build/gitinit directory and didn't bother unpacking 1.0.4 on top of that. After I removed the build directory gitinit installed flawlessly. :)

@iambibhas
Copy link
Owner

Ah. Great. This is my first package. So things are a bit shaky. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants