diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-16 10:41:45 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-16 10:42:30 +0200 |
commit | e37ccfe59b88cbc0c1617ee1d0ec418d52ba6f76 (patch) | |
tree | 1e1de02423a2926e7fb8f59aae9dd312165aec74 /docs/reference | |
parent | 9251f1395efff46bb63f5010534452f4c437206f (diff) |
docs/packages: Explicitly recommend usage of setuptools instead of distutils.
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/packages.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/reference/packages.rst b/docs/reference/packages.rst index efe119f71..e1609985a 100644 --- a/docs/reference/packages.rst +++ b/docs/reference/packages.rst @@ -204,12 +204,13 @@ Creating distribution packages Distribution packages for MicroPython are created in the same manner as for CPython or any other Python implementation, see references at -the end of chapter. "Source distribution" (sdist) format is used for -packaging. The post-processing discussed above, (and pre-processing -discussed in the following section) is achieved by using custom -"sdist" command for distutils/setuptools. Thus, packaging steps -remain the same as for standard distutils/setuptools, the user just -need to override "sdist" command implementation by passing the +the end of chapter. Setuptools (instead of distutils) should be used, +because distutils do not support dependencies and other features. "Source +distribution" (``sdist``) format is used for packaging. The post-processing +discussed above, (and pre-processing discussed in the following section) +is achieved by using custom ``sdist`` command for setuptools. Thus, packaging +steps remain the same as for the standard setuptools, the user just +needs to override ``sdist`` command implementation by passing the appropriate argument to ``setup()`` call:: from setuptools import setup |