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

requirements.txt is not packaged in the tarball #10

Closed
moorepants opened this issue Feb 21, 2022 · 4 comments · Fixed by #11
Closed

requirements.txt is not packaged in the tarball #10

moorepants opened this issue Feb 21, 2022 · 4 comments · Fixed by #11
Labels
bug Something isn't working

Comments

@moorepants
Copy link

moorepants commented Feb 21, 2022

Your setup.py file requires processing the requirements.txt file but it is not present in the source tarball.

    File "setup.py", line 36, in <module>
      install_requires=parse_requirement("requirements.txt"),
    File "setup.py", line 17, in parse_requirement
      with open(os.path.join(directory, "requirements", req_path)) as f:
  FileNotFoundError: [Errno 2] No such file or directory: '/home/conda/staged-recipes/build_artifacts/piccolo-theme_1645472732392/work/requirements/requirements.txt'
@dantownsend dantownsend added the bug Something isn't working label Feb 21, 2022
@dantownsend
Copy link
Member

You're right - good catch.

@dantownsend
Copy link
Member

@moorepants I've pushed a new version to PyPI - version 0.2.4. Does this fix your problem?

@moorepants
Copy link
Author

Yes, thanks for the quick fix.

I've packaged your theme for conda forge: conda-forge/staged-recipes#18118

@dantownsend
Copy link
Member

@moorepants Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants