Replies: 2 comments 5 replies
-
|
The pip install + tons of args we use in package() (https://github.com/BlackArch/blackarch-pkgbuilds/blob/master/python/PKGBUILD-python-PEP517-pip) is the previous recommended way for PEP517 packaging in arch wiki (for install, we were already using python-build for building). It's just we did not moved to the new (2022 is now old) python-installer method. I guess python-installer is doing the same job but requires far less options so it looks cleaner. Ref. https://wiki.archlinux.org/index.php?title=Python_package_guidelines&diff=718653&oldid=717856 We should test with python installer on a few packages, compare the resulting package tarball, and if everything goes well, we should start by updating our PKGBUILD template. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My question arises because ArchWiki says that for Python packages, pip should not be used as a method in PKGBUILD, and it is recommended to use python-installer or setuptools.
The question is precisely: Why do we use pip in blackarch for packages that could use the recommended methods?
I know that the pip method works and that it has the necessary arguments to avoid breaking the system, but I also consider what is most ideal, since pip is a very complete manager and using it only as an installation method is more in line with the task of python-installer.
Now, I'm not asking to change all Python packages to use installer; I know it's a big job just to follow a standard, but I would like to help some packages, say the most used ones or those with the most recent updates and that are compatible with the recommended methods, use installer instead of pip, since I haven't dared to make the change without discussing it here so that everything is well understood.
Thanks for any responses, best regards.
Beta Was this translation helpful? Give feedback.
All reactions