diff options
author | wiz <wiz@pkgsrc.org> | 2022-01-11 09:09:49 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-01-11 09:09:49 +0000 |
commit | fbda48a1715ecd785705b5c81b8dfe1d37f92833 (patch) | |
tree | 50acef5f10862f1a4103570f06f3de9424c5949b /doc/guide | |
parent | c7001d723478245be3e05a8e88928a100df78f68 (diff) | |
download | pkgsrc-fbda48a1715ecd785705b5c81b8dfe1d37f92833.tar.gz |
guide: undocument distutils.mk
Diffstat (limited to 'doc/guide')
-rw-r--r-- | doc/guide/files/creating.xml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/doc/guide/files/creating.xml b/doc/guide/files/creating.xml index 814f6553198..b69944d0357 100644 --- a/doc/guide/files/creating.xml +++ b/doc/guide/files/creating.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: creating.xml,v 1.34 2020/06/20 05:31:10 rillig Exp $ --> +<!-- $NetBSD: creating.xml,v 1.35 2022/01/11 09:09:49 wiz Exp $ --> <chapter id="creating"> <title>Creating a new pkgsrc package from scratch</title> @@ -186,21 +186,13 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 <para> If the packaged software is a Python module, include one of -<filename>../../lang/python/egg.mk</filename>, -<filename>../../lang/python/distutils.mk</filename>, or +<filename>../../lang/python/egg.mk</filename> or <filename>../../lang/python/extension.mk</filename>.</para> -<para>Most Python packages use either <quote>distutils</quote> or -easy-setup/setuptools (<quote>eggs</quote>). +<para>Most Python packages use setuptools (<quote>eggs</quote>). If the packaged software is using setuptools, you only need to include <quote><filename>../../lang/python/egg.mk</filename></quote>. -Otherwise, if the software uses <quote>distutils</quote>, include -<quote><filename>../../lang/python/distutils.mk</filename></quote>, -so pkgsrc will use this framework. -<quote>distutils</quote> uses a script called <filename>setup.py</filename>; -if the <quote>distutils</quote> driver is not called -<filename>setup.py</filename>, set the <varname>PYSETUP</varname> variable -to the name of the script.</para> +</para> <para>Either way, the package directory should be called <quote>py-software</quote> and <varname>PKGNAME</varname> should be set to |