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

installation from pypi source package failing due to missing requirements.txt #61

Open
flotsan opened this issue Sep 17, 2021 · 0 comments

Comments

@flotsan
Copy link
Contributor

flotsan commented Sep 17, 2021

Installation using the source package downloaded from pypi (https://pypi.org/project/Flask-COMBO-JSONAPI/#files) would fail because "requirements.txt" used by setup.py wasn't included in the archive.

Steps to reproduce:

$ pip install Flask-COMBO-JSONAPI-1.1.0.tar.gz
Processing /tmp/Flask-COMBO-JSONAPI-1.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/t7/t04m89ss3cj2x1bqv4gmqj5r000t9r/T/pip-req-build-6neyzad5/setup.py", line 8, in <module>
        with open(requirements_filepath) as fp:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

    ----------------------------------------

It can be resolved if it is declared to be included in MANIFEST.in

flotsan added a commit to flotsan/flask-combo-jsonapi that referenced this issue Sep 17, 2021
@flotsan flotsan changed the title installation from pypi source package due to missing installation from pypi source package failing due to missing requirements.txt Sep 17, 2021
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