summaryrefslogtreecommitdiff
path: root/setuptools/command/setopt.py
Commit message (Collapse)AuthorAgeFilesLines
* Retain case in setup.cfg during sdist. Fixes #2773.Jason R. Coombs2021-09-081-0/+1
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-2/+1
|
* Remove spurious executable permissionsMiro Hrončok2018-07-271-0/+0
|
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
|
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Use OrderedDict to retain deterministic ordering of version info in egg_info ↵Jason R. Coombs2016-04-201-5/+2
| | | | command. Remove lexicographic ordering in setopt.edit_config. Ref #553
* Preserve order of egg_info section in setup.cfgDavanum Srinivas2016-04-191-2/+5
| | | | | | | | | | | | egg_info is the dictionary with information that is injected into setup.cfg. edit_config uses RawConfigParser which uses collections.OrderedDict for all the data. When we use a simple dict(), when we loop through items in edit_config, we see random behavior as a result the fields tag_svn_revision/tag_date/tag_build are added to the setup.cfg randomly. So if we sort the items by key when we traverse items we will get deterministic output as RawConfigParser uses OrderedDict internally by default.
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+6
| | | | | --HG-- branch : feature/issue-229
* Use six for Python 2 compatibilityJason R. Coombs2014-07-051-3/+3
| | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-20/+25
|
* Normalize whitespace and importsJason R. Coombs2014-02-091-35/+16
|
* Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* Delete empty sections when their last option is deleted.PJ Eby2005-07-081-6/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041099
* Added support for defining command aliases in distutils configurationPJ Eby2005-07-081-5/+5
| | | | | | | | | | | files, under the "[aliases]" section. To prevent recursion and to allow aliases to call the command of the same name, a given alias can be expanded only once per command-line invocation. You can define new aliases with the "alias" command, either for the local, global, or per-user configuration. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041094
* * Added "rotate" command to delete old distribution files, given a set ofPJ Eby2005-07-081-0/+164
patterns to match and the number of files to keep. (Keeps the most recently-modified distribution files matching each pattern.) * Added "saveopts" command that saves all command-line options for the current invocation to the local, global, or per-user configuration file. Useful for setting defaults without having to hand-edit a configuration file. * Added a "setopt" command that sets a single option in a specified distutils configuration file. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041093