Article 5NDH9 Force a SlackBuild to use python3

Force a SlackBuild to use python3

by
Daedra
from LinuxQuestions.org on (#5NDH9)
I am making a SlackBuild for a python package that is going to be a required dependency of another package I have. The issue I am running into is that it must be built using Python3. This is usually easy enough to accomplish by using "python3 setup.py install --root=$PKG". However not matter what I use the package is building against python2. Oddly enough if I skip the Slackbuild and manually build the package using "python3 setup.py install --root=/tmp/test" then it works fine. How can I force python3 on my SlackBuild script. The source in question is here...

https://github.com/vaab/colour

Thanks in advance.latest?d=yIl2AUoC8zA latest?i=P-GM0xDMH70:cL-6VQvCYkk:F7zBnMy latest?i=P-GM0xDMH70:cL-6VQvCYkk:V_sGLiP latest?d=qj6IDK7rITs latest?i=P-GM0xDMH70:cL-6VQvCYkk:gIN9vFwP-GM0xDMH70
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments