summaryrefslogtreecommitdiffstats
path: root/Doc/packaging
Commit message (Collapse)AuthorAgeFilesLines
* Adapt test and example after e39d1b6f0856.Éric Araujo2011-11-141-1/+1
| | | | | Tarek’s commit fixed the way packaging configuration file markers are split under Windows, but these two files were not edited.
* Improve byte-compilation in packaging to be independent of -O or -B.Éric Araujo2011-11-032-5/+27
| | | | | | | | | | | | | | | | | | | | | 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.
* Document that packaging doesn’t create __init__.py files (#3902).Éric Araujo2011-10-211-0/+4
| | | | | | | | | | | The bug reported expected distutils to create an __init__.py file for a project using only C extension modules. IMO, how Python imports packages and submodules is well documented, and it’s never suggested that distutils might create an __init__.py file, so I’m adding this clarification to the packaging docs but won’t backport unless other people tell me they shared the same wrong expectation. Thanks to Mike Hoy for his help with the patch.
* Add reST targets to sections of the setup.cfg spec, improve wordingÉric Araujo2011-10-191-7/+32
|
* Minor grammar fix.Brett Cannon2011-09-061-1/+1
|
* Minor improvement to extensions in setup.cfg: check parent packageÉric Araujo2011-09-011-1/+3
|
* Minor improvement to extensions section in setup.cfg.Éric Araujo2011-09-011-4/+5
| | | | | | The right-hand part in [extension: foo] is now used as the name of the extension module. (I changed the separator from = to : and allowed whitespace to make the sections look nicer.)
* Remove obsolete mentions of the compress program and .Z archives.Éric Araujo2011-08-292-15/+5
| | | | | | 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.
* Merge doc changes from 3.2 (#8617, #10745).Éric Araujo2011-08-061-7/+8
| | | | | | | | | | In the install and library docs, I changed the text to refer to packaging instead of distutils. I also checked that the documented paths correctly reflect what’s really defined in sysconfig; the main difference with paths defined in distutils.install is that include directories don’t end with the distribution name anymore (i.e. distutils uses include/python3.3/spam, sysconfig include/python3.3), I have no idea why.
* Fix English in packaging, too.R David Murray2011-07-181-1/+1
|
* Fix syntax in packaging docs and update suspicious ignore file.Georg Brandl2011-07-092-2/+2
|
* Improve documentation of packaging hooksÉric Araujo2011-06-192-22/+36
|
* Allow multiple setup hooks in packaging’s setup.cfg files (#12240).Éric Araujo2011-06-101-5/+9
| | | | Original patch by Erik Bray.
* setup.cfg: Document that description-file can contain more than one fileÉric Araujo2011-06-101-0/+1
|
* Document how to define extension modules in setup.cfgÉric Araujo2011-06-091-0/+32
|
* Fix incorrect nesting of sections in setup.cfg specificationÉric Araujo2011-06-091-18/+18
|
* Fix documentation of requires-python field in setup.cfg (#11041)Éric Araujo2011-06-061-3/+3
|
* Rephrase the section about spec versioningÉric Araujo2011-06-061-20/+19
|
* Fix a few typosÉric Araujo2011-06-061-3/+3
|
* Minor rework of the extensibility and acks sectionsÉric Araujo2011-06-061-9/+17
|
* Move a non-PEP 345 field at the end of the metadata fields listÉric Araujo2011-06-051-4/+7
|
* Make example of file inclusion in setupcfg more obviousÉric Araujo2011-06-051-15/+14
|
* Rephrase and update intro and syntax sections of setupcfgÉric Araujo2011-06-061-32/+34
|
* Change reST targets in setup.cfg spec.Éric Araujo2011-06-052-4/+4
| | | | | | I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope of the spec is not limited to packaging: it’s intended as a language-agnostic document for packaging tools developers as well as Python authors.
* Add a short table of contents to the setup.cfg spec.Éric Araujo2011-06-051-0/+4
| | | | | | | I tried shortening the sidebar ToC with the tocdepth option instead, but it has a bug which caused all headings with a level deeper than the tocdepth value to all have the same section number, which was a usability regression rather than in improvement.
* Add reST target for Doc/packaging/setupcfgÉric Araujo2011-06-042-0/+7
|
* Add missing section of doc file lost among repositories and conversionsÉric Araujo2011-06-041-3/+160
|
* Merge packaging doc fixÉric Araujo2011-06-021-1/+1
|\
* | this documentation is now handled by all the new packaging contributorsTarek Ziade2011-06-021-1/+1
|/
* Kill trailing whitespaceÉric Araujo2011-06-012-27/+27
|
* Add documentation for the packaging module.Éric Araujo2011-06-0114-0/+3385
This updates the user guide to refer to Packaging instead of Distutils. Some files still require an update.