[Slackbuilds-users] Installing Python packages

Rich Shepard rshepard at appl-ecosys.com
Fri Jul 14 19:45:21 UTC 2017


On Fri, 14 Jul 2017, Jeremy Hansen wrote:

> Just so you know, unless there's binaries created outside of the
> /usr/lib/python-*/ directories, you can safely compile both the python2
> and python3 versions in the same SlackBuild.
>
> You can just add a second line to run "python3 setup.py install
> --root=$PKG" and each will be installed into their respective python
> folders.
>
> This way, if any python2 programs/scripts rely on these programs, it won't
> break them.

Jeremy,

   Thank you. This is really helpful and I did not know which packages would
support both python versions simultaneously.

Regards,

Rich


More information about the SlackBuilds-users mailing list