2. Writing the Setup Script — Python 3.11.7 documentation
This document is being retained solely until the setuptools documentation at https://setuptools.readthedocs.io/en/latest/setuptools.html independently covers all of the relevant information currently included here. The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the setup script is to describe your module distribution to the Distutils, so that the various commands that operate on your modules do the right thing. As we saw in section A Simple Example above, the setup script consists mainly of a call to setup(), and most information supplied to the Distutils by the module developer is supplied as keyword arguments to setup(). Here’s a slightly more involved example, which we’ll follow for the next couple of sections: the Distutils’ own setup script. (Keep in mind that although the Distutils are included with Python 1.6 and later, they also have an independent existence so that Python 1.5.2 users can
2. Writing the Setup Script — Python 3.11.15 documentation Navigation index modules | next | previous | Python » 3.11.15 Documentation » Distributing Python Modules (Legacy version) » 2. Writing the Setup Script | Theme Auto Light Dark | 2. Writing the Setup Script ¶ Note This document is being retained solely until the setuptools documentation at https://setuptools.readthedocs.io/en/latest/setuptools.html independently covers all of the relevant information currently included here. The setup script is the centre of all activity in building, distributing, and installing mo
Explore this link on the map →related reading
- The Architecture of Open Source Applications (Volume 1)Python Packagingaosabook.org
- Why you shouldn't invoke setup.py directlyblog.ganssle.io
- A farewell to the Berkeley Institute for Data Science - njs blogvorpus.org
- Self-contained Python scripts with uv - the.dusktreader blogblog.dusktreader.dev
- uv: An extremely Fast Python Package Manager :: Jane Streetjanestreet.com
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- Get Startedpytorch.org
- Niels Cautaerts - Python dependency management is a dumpster firenielscautaerts.xyz
- Compelling Science Fiction Newslettercompellingsciencefiction.com
- Build from Source - Installghostty.org
- reStructuredText - Wikipediaen.wikipedia.org
- Challenges and recommendations to improve the installability and archival stability of omics computational tools | PLOS Biologyjournals.plos.org