Packaging/Python: Difference between revisions

m `nix shell` has no `-p` argument. This is probably meant to be `nix-shell`.
m distutils deprecated in py 3.12 notice, fix link
Line 201: Line 201:
</syntaxHighlight>
</syntaxHighlight>


More info about the <code>setup.py</code> can be found [https://docs.python.org/3/distutils/setupscript.html here].
More info about the <code>setup.py</code> can be found [https://docs.python.org/3.11/distutils/setupscript.html here]. (<b>note:</b> from python 3.12 onwards, distutils is deprecated see https://docs.python.org/3.11/distutils/index.html)


<code>scripts</code> is useful for self-contained python scripts with no local imports.
<code>scripts</code> is useful for self-contained python scripts with no local imports.