[Slackbuilds-users] sbotools: multiline build options
fourtysixandtwo
fourtysixandtwo at sliderr.net
Sun May 24 22:47:48 UTC 2026
Those instructions are only for use in another slackbuild, they are
not build options for python3-setuptools-opt so you can just ignore
them.
Cheers
On Sun, May 24, 2026 at 4:41 PM J. Milgram via SlackBuilds-users
<slackbuilds-users at slackbuilds.org> wrote:
>
>
>
> Dumb question. Where I see something like this in a Slackbuild README:
>
> =========
> Add the following before the python3 build commands in your
> Slackbuild to use this version over the stock one in 15.0:
>
> PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
> export PYTHONPATH=/opt/python$PYVER/site-packages
> =========
>
> ... sboinstall and sboupgrade will say "It looks like python3-setuptools-opt has options; would you like to set
> any when the slackbuild is run?"
>
> All good. I say "y" and then the question is how to type this in.
>
> First, I presume it's entered without the "export" builtin:
>
> PYVER=<whatever>
> PYTHONPATH=/opt/python$PYVER/site-packages
>
> ... Else I get a "not a valid identifier" bash error apparently due to the script attempting: "export PYTHONPATH=<path> foo.Slackbuild" and there's no "foo.Slackbuild" to export.
>
> Other question is, how to enter the lines at the sboinstall prompt: one at a time, separated by <return>, or both in one line, separated by a semicolon?
>
> I've been "cheating" and entering only the second line, as PYTHONPATH=/opt/python3.9/site-packages, because I know I'm running 3.9. However, still curious how multiline input is envisioned to work.
>
> thanks!
>
> Judah
>
> =====
> milgram at cgpp.com
> 301-257-7069
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list