summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove packaging from the standard library.Éric Araujo2012-06-241-391/+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
* Allow multiple values for package_data in setup.cfg (#11805).Éric Araujo2012-02-041-7/+18
| | | | | | | | | | | | | Even though the resources system obsoletes data_files and package_data (see bug discussion), package_data still exists to allow compatibility with distutils and thus an easier transition. In setup.py, the values are lists of glob patterns, so the setup.cfg syntax needed a way to express multiple values too. Doc for this option will be added later as part of the big packaging doc patches. For now, the test serves as example. Reported by Erik Bray.
* Don’t let invalid line in setup.cfg pass silentlyÉric Araujo2011-09-101-3/+4
|
* Minor improvement to extensions in setup.cfg: check parent packageÉric Araujo2011-09-011-2/+18
|
* Minor improvement to extensions section in setup.cfg.Éric Araujo2011-09-011-4/+7
| | | | | | 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.)
* Clean up packaging.util: add __all__, remove some unused functions.Éric Araujo2011-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This huge module is the heir of six distutils modules, and contains a number of miscellaneous functions. I have attempted to help readers of the source code with an annoted __all__. Removed or deprecated functions have been removed from the documentation; I’m working on another patch to document the remaining public functions. For the curious: The unzip_file and untar_file were used by (or intended to be used by) “pysetup install path/to/archive.tar.gz”, but the code presently used shutil.unpack_archive and an helper function, so I just deleted them. They’re still in the repository if we need them in the future. The find_packages function is not used anymore but I want to discuss module and package auto-discovery (in “pysetup create”) again before removing it. subst_vars now lives in sysconfig; rfc822_escape is inlined in packaging.metadata. Other functions are for internal use only, or deprecated; I have left them out of __all__ and sprinkled TODO notes for future cleanups.
* packaging: Add the project directory to sys.path to support local setup hooks.Éric Araujo2011-06-191-9/+14
| | | | Original patch by Vinay Sajip on #11637.
* Allow multiple setup hooks in packaging’s setup.cfg files (#12240).Éric Araujo2011-06-101-18/+19
| | | | Original patch by Erik Bray.
* setup.cfg: Document that description-file can contain more than one fileÉric Araujo2011-06-101-8/+5
|
* Move useful function to packaging.util.Éric Araujo2011-06-101-12/+7
| | | | | Original patch by Erik Bray as part of #11595, changed by me to improve readability.
* fixed the way the cfg file markers values are split under win32Tarek Ziade2011-05-211-1/+2
|
* fixed the separator issues in packaging/resources+configTarek Ziade2011-05-211-1/+5
|
* Issue #12112: packaging reads and writes setup.cfg using UTF-8Victor Stinner2011-05-191-1/+1
|
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-0/+357