Skip to content

support building python modules from a git source - #1999

Open
bugfood wants to merge 2 commits into
jordansissel:mainfrom
bugfood:python-build-git
Open

support building python modules from a git source#1999
bugfood wants to merge 2 commits into
jordansissel:mainfrom
bugfood:python-build-git

Conversation

@bugfood

@bugfood bugfood commented Mar 13, 2023

Copy link
Copy Markdown

The makes the building of python modules support a git repo URL (and optional branch) the same way as currently done for ruby gems.

Example to build an old version of the requests module on AlmaLinux 8:

bin/fpm --verbose -s python -t rpm -f --architecture noarch --rpm-auto-add-directories --python-bin python3.6 --python-package-name-prefix python3 --python-pip /usr/bin/pip3.6  --python-git-repo https://github.com/psf/requests.git --python-git-branch v2.5.0 requests

Thanks,
Corey

bugfood added 2 commits March 13, 2023 11:04
This allows other source package classes to add use of this
functionality.
This works the same way as support in gems. New options are:
--python-git-repo
--python-git-branch
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

Successfully merging this pull request may close these issues.

1 participant