Skip to content

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

@smacpher

Description

@smacpher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions