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

Doesn’t build from sdist #31

Closed
flying-sheep opened this issue Jul 24, 2023 · 2 comments
Closed

Doesn’t build from sdist #31

flying-sheep opened this issue Jul 24, 2023 · 2 comments

Comments

@flying-sheep
Copy link
Contributor

flying-sheep commented Jul 24, 2023

If you try to install from the source distribution hosted on PyPI, you get

* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  […]
  File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
    exec(code, locals())
  File "<string>", line 7, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

I suggest switching to pyproject.toml and away from setuptools to stop having to deal with its MANIFEST.in sillyness.

@ralhei
Copy link
Owner

ralhei commented Jul 24, 2023

Yes, indeed this was missing. I've added the requirement files to setup.py, no need to add a MANIFESTS files. The latest version is now 1.0.3
Thanks for reporting this problem.

@flying-sheep
Copy link
Contributor Author

thank you!

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