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

Use standard Python Project layout #12

Open
SchoolGuy opened this issue Oct 2, 2024 · 1 comment
Open

Use standard Python Project layout #12

SchoolGuy opened this issue Oct 2, 2024 · 1 comment

Comments

@SchoolGuy
Copy link

SchoolGuy commented Oct 2, 2024

To distribute this project further through the means of PyPi, downstream Linux distributions and the likes it is recommended to use a project layout that the Python build systems can support.

One of the most recommended ones is the src-layout.

When attempting to build an RPM out of this project this fails with the following message:

[   22s] + /usr/bin/python3.10 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
[   22s] ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
[   22s] error: Bad exit status from /var/tmp/rpm-tmp.ULsuyp (%build)
@SchoolGuy
Copy link
Author

I am working on this already.

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