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

The version function in setup.py doesn't work on pip install #1

Closed
terrycojones opened this issue Jun 23, 2019 · 0 comments
Closed

Comments

@terrycojones
Copy link
Owner

Not sure what's going on here. This works in other projects.

$ pip install rpnpy
Collecting rpnpy
  Downloading https://files.pythonhosted.org/packages/5b/b3/c9a9ce4ff33f7fb6afba9fdd0e1c93f1f7accbeaca58745c7bb60db750bf/rpnpy-1.0.26.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-nakh2gxa/rpnpy/setup.py", line 27, in <module>
        version=version(),
      File "/tmp/pip-install-nakh2gxa/rpnpy/setup.py", line 16, in version
        with open(init) as fp:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-nakh2gxa/rpnpy/rpnpy/__init__.py'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-nakh2gxa/rpnpy/
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