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

Create spec files from local packages #53

Open
befeleme opened this issue Feb 7, 2025 · 0 comments
Open

Create spec files from local packages #53

befeleme opened this issue Feb 7, 2025 · 0 comments

Comments

@befeleme
Copy link
Owner

befeleme commented Feb 7, 2025

User journey:

  • they have a directory with a Python package (it's not important whether it's a git repository or not)
  • they build the package using standard methods (e.g. python -m build). We expect sdist and wheel to be built.
  • they point pyp2spec to a directory in which there are the built artifacts

pyp2spec:

  • reads the metadata from the wheel archive
  • uses the resulting artifacts names to determine the archfulness
  • creates a specfile based on the above mentioned data

pyp2spec never attempts to build or install anything on a user machine. If the project is not buildable as a Python distribution, it won't be buildable as an RPM.

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