summaryrefslogtreecommitdiffstats
path: root/Doc/packaging/builtdist.rst
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-302/+0
| | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* Improve byte-compilation in packaging to be independent of -O or -B.Éric Araujo2011-11-031-3/+1
| | | | | | | | | | | | | | | | | | | | | The code I fixed to comply with PEP 3147 still had one bug: When run under python -O, some paths for pyc files would be pyo, because I called imp.cache_from_source without explicit debug_override argument in some places, and under -O that would return .pyo (this is well explained in the imp docs). Now all code (util.byte_compile, build_py, install_lib) can create .pyo files according to options given by users, without interference from the calling Python’s own optimize mode. On a related topic, I also removed the code that prevented byte compilation under python -B. The rationale is that packaging gives control over the creation of pyc files to the user with its own explicit option, and the behavior should not be changed if the calling Python happens to run with -B for whatever reason. I will argue that this is a bug fix and ask to be allowed to backport this change to distutils. Finally, I moved one nugget of information about the --compile and --optimize options from the source into the doc. It clears up a misunderstanding that I (and maybe other people) had.
* Remove obsolete mentions of the compress program and .Z archives.Éric Araujo2011-08-291-7/+4
| | | | | | Packaging uses the shutil.make_archive function copied from distutils, which does not support compress. There is no test to check that “bdist --format whatever” works, so this slipped by.
* Fix syntax in packaging docs and update suspicious ignore file.Georg Brandl2011-07-091-1/+1
|
* Add documentation for the packaging module.Éric Araujo2011-06-011-0/+307
This updates the user guide to refer to Packaging instead of Distutils. Some files still require an update.