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

setup.py tries to open README.rst which doesn't exist #57

Open
smacpher opened this issue Nov 22, 2017 · 0 comments
Open

setup.py tries to open README.rst which doesn't exist #57

smacpher opened this issue Nov 22, 2017 · 0 comments

Comments

@smacpher
Copy link

smacpher commented Nov 22, 2017

I ran into this error when I tried to pip install the package using the command in the README.md
(this one: pip install https://github.com/api-ai/api-ai-python.git, I actually had to prepend git+ to the URL so maybe that should be added to the README as well).

Here's the exact error that I got:

$ pip install git+https://github.com/api-ai/api-ai-python.git
Collecting git+https://github.com/api-ai/api-ai-python.git
  Cloning https://github.com/api-ai/api-ai-python.git to /private/var/folders/8x/xnhc28b96zz1_k8_sdfdkjzr0000gn/T/pip-EW675N-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/8x/xnhc28b96zz1_k8_sdfdkjzr0000gn/T/pip-EW675N-build/setup.py", line 51, in <module>
        with open('README.rst', 'r') as f:
    IOError: [Errno 2] No such file or directory: 'README.rst'

I went ahead and cloned the repository and changed README.rst to README.md and ran python setup.py and the package installed properly.

As far as I can tell, this should be a really easy fix -- just switch out README.rst with READM.md. Please let me know if I'm missing anything though and if this isn't actually and issue with the package but an issue on my side.

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

1 participant