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

Build Issue #17

Open
sdandey opened this issue Mar 28, 2019 · 3 comments
Open

Build Issue #17

sdandey opened this issue Mar 28, 2019 · 3 comments

Comments

@sdandey
Copy link

sdandey commented Mar 28, 2019

Hi,

I made modifications to the code and created a distribution using "python sdist" command which created jhub_remote_user_authenticator-0.1.2.tar.gz.

When I try install this via pip I get following error. Any idea on how to resolve this issue?

Processing /tmp/jhub_remote_user_authenticator-0.1.2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-i0t6gphl/setup.py", line 23, in <module>
        with open(pjoin(here, 'version.py')) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-i0t6gphl/version.py'
@cwaldbieser
Copy link
Owner

It looks like the version.py file used for specifying the release version isn't included in setup.py. I think I could probably include it by adding it to the package_data or data_files arguments to setup.py.

@cwaldbieser
Copy link
Owner

I just pushed commit 375972b to master. I think that should take care of it. If you are still having trouble, let me know.

@cwaldbieser
Copy link
Owner

@sdandey - Did that resolve your issue?

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