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

pip install fails #6

Closed
brejoc opened this issue Nov 5, 2019 · 1 comment · Fixed by #7
Closed

pip install fails #6

brejoc opened this issue Nov 5, 2019 · 1 comment · Fixed by #7

Comments

@brejoc
Copy link
Owner

brejoc commented Nov 5, 2019

Looks like requirements.txt is not part of the package:

Collecting teampulls
  Downloading https://files.pythonhosted.org/packages/76/7f/eafd3da9cdafb4f844f9588b416eab691459e4782c7a2559f03e688e8096/teampulls-0.1.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@2/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Al57EO/teampulls/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-Al57EO/teampulls/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-install-Al57EO/teampulls/pip-egg-info
         cwd: /private/tmp/pip-install-Al57EO/teampulls/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-install-Al57EO/teampulls/setup.py", line 3, in <module>
        with open('requirements.txt') as f:
    IOError: [Errno 2] No such file or directory: 'requirements.txt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@brejoc
Copy link
Owner Author

brejoc commented Nov 5, 2019

This only applies to pip installing it from the sources. The wheel has it.

brejoc added a commit that referenced this issue Nov 5, 2019
Without this file the requirements.txt is missing from the source
(sdist) tarball, which results an an error message during
installation.

Fixes #6
@brejoc brejoc closed this as completed in #7 Nov 5, 2019
brejoc added a commit that referenced this issue Nov 6, 2019
With 0.1.1 we ship the fix for #6, the missing requirements.txt in the
sdist tarbal.

twine is now part of the devel requirements and the makefile has tasks
for publishing to pypi.org
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

Successfully merging a pull request may close this issue.

1 participant