befeleme / pyp2spec

Generate Fedora RPM spec files for Python packages
MIT License
11 stars 4 forks source link

Focus on human user #38

Open befeleme opened 1 year ago

befeleme commented 1 year ago

Till now, most of the work went into enabling a smooth automation. User experience for a human user is much poorer. I'd like to track here the ideas how pyp2spec should behave when a real user interacts with it - ideally define a MVP which can be promoted to the community.

befeleme commented 10 months ago

I'm thinking of creating an automode (-a, --automode) that would create a specfile:

The new default would be that pyp2spec creates a specfile which:

Open questions:

hroncok commented 10 months ago

For the manual mode, I'd generate something like this for now:

# Add top-level Python module names here as arguments, you can use globs
%pyproject_save_files ...
hroncok commented 10 months ago

Same for the License tag. I'd rather get something like this:

# No license information obtained, it's up to the packager 
License: ...

Or this:

# WARNING, the determined license tag is not allowed in Fedora!
#   "Proprietary" not listed in https://docs.fedoraproject.org/en-US/legal/allowed-licenses/
License: Proprietary AND MIT

than a fatal error.