-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Wheel/.toml mismatch #1711
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just ran the example hatch-demo. When attempting to import the .whl into python, it throws an error that the package doesn't appear to be a python package: neither pyproject.toml nor setup.py is present. I find that I can force including the README.md, pyproject.toml, and LICENSE.txt, but then an error "no file src/pkg/about.py exists" results. This is from the dynamic versioning callout in the .toml file. If I use static versioning, everything works out fine. The issue appears to be that hatch changes the source tree to eliminate the "src" directory so that if the same .toml file is included in the .whl, python will fail to find about.py. How should I get around this issue?
The text was updated successfully, but these errors were encountered: