summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Use newer string formatting for rendering user agent. Re-use __version__ ↵Jason R. Coombs2016-06-011-3/+6
| | | | from main package.
* Move setuptools to beginning of user-agent header. Fixes #598.Jason R. Coombs2016-06-011-2/+2
|
* Add test for build_multipartJason R. Coombs2016-05-311-0/+12
|
* Return content type in _build_multipartJason R. Coombs2016-05-311-3/+4
|
* Replace _build_parts with map and flatten.Jason R. Coombs2016-05-311-10/+9
|
* Normalize indentJason R. Coombs2016-05-311-16/+16
|
* Extract method for _build_partJason R. Coombs2016-05-311-2/+7
|
* Extract method for _build_multipartJason R. Coombs2016-05-311-10/+16
|
* Extract method for _build_parts.Jason R. Coombs2016-05-311-21/+27
|
* Use bytes literals and simpler encoding logic when constructing multipart postJason R. Coombs2016-05-311-20/+14
|
* Use context for closing fileJason R. Coombs2016-05-311-3/+2
|
* Re-use unique_everseen from itertools recipes.Jason R. Coombs2016-05-221-7/+24
|
* Extract duplicate code into a single method.Jason R. Coombs2016-05-221-20/+28
|
* Rewrite find_data_files and exclude_data_files to follow the same pattern ↵Jason R. Coombs2016-05-221-17/+24
| | | | for building platform_patterns.
* Allow files to be iterable in exclude_data_filesJason R. Coombs2016-05-221-2/+3
|
* Rewrite globs as chain of iterables.Jason R. Coombs2016-05-221-3/+3
|
* Filter non-files in find_data_files. Fixes #261.Jason R. Coombs2016-05-221-2/+2
|
* Refactor build_py.find_data_files to use iterables, constructing the files ↵Jason R. Coombs2016-05-221-3/+11
| | | | list directly. Ref #261.
* Add test ref #261.Jason R. Coombs2016-05-221-0/+31
|
* Use itertools.chain for more lenient support of any iterable types and also ↵Jason R. Coombs2016-05-221-2/+4
| | | | more uniform indentation.
* getsitepackages may not be presentv21.2.0Jason R. Coombs2016-05-211-1/+1
|
* Re-use _inline for nicer one-line scripts.Jason R. Coombs2016-05-211-10/+12
|
* Reindent for clarity and to remove hanging indents.Jason R. Coombs2016-05-211-54/+92
|
* Add docstringJason R. Coombs2016-05-211-0/+6
|
* Normalize importsJason R. Coombs2016-05-211-2/+4
|
* Prefer the amazing monkeypatch fixture from pytest to bespoke inline ↵Jason R. Coombs2016-05-211-33/+10
| | | | implementations.
* Remove unused importJason R. Coombs2016-05-211-1/+0
|
* Merge pull request #586 from last-g/bug/shadowbugJason R. Coombs2016-05-212-0/+41
|\ | | | | Get real `site-packages`
| * Replace contextlib with decoratorLast G2016-05-191-8/+13
| |
| * Fix tests for working in environment without site.getsitepakagesLast G2016-05-191-1/+28
| |
| * Get site-packages dirs from site.py tooLast G2016-05-192-0/+9
| |
* | build_ext: move block customizing compiler for shared lib into a functionCosimo Lupo2016-05-181-14/+22
| |
* | build_ext: always import _CONFIG_VARS from distutils.sysconfig instead of ↵Cosimo Lupo2016-05-041-8/+4
|/ | | | | | | | sysconfig otherwise `distutils.sysconfig.customize_compiler` does not configure OSX compiler for -dynamiclib See https://github.com/pypa/setuptools/issues/571
* Tabs to spaces in two more files. Ref #489.Jason R. Coombs2016-05-021-2/+2
|
* Convert tabs to spaces. Fixes #489.Jason R. Coombs2016-05-023-20/+20
|
* Simplify logic by eliminating retries in password prompt and returning ↵Jason R. Coombs2016-04-241-10/+4
| | | | results directly.
* Add carriage return for symmetryJason R. Coombs2016-04-241-1/+2
|
* Move import to headerJason R. Coombs2016-04-241-1/+1
|
* Prompt for password on upload.Brooks Kindle2016-04-231-6/+26
| | | | | | | | | | | | The upload command wasn't prompting for a password. If there was no password specified in ~/.pypirc, the upload command, python setup.py sdist upload would fail and raise a TypeError. The workaround for this was to use python setup.py sdist register upload since the register command does prompt for a password. This commit ensures that the upload command prompts for a password if not given one by ~/.pypirc or the register command.
* Correction for expected dict order when PYTHONHASHSEED=0Jason R. Coombs2016-04-202-7/+7
|
* Add docstrings explaining the intention of the test. Ref #553.Jason R. Coombs2016-04-201-0/+13
|
* It's not necessary to build a file with an empty egg_info.Jason R. Coombs2016-04-201-5/+0
|
* Move Python 2.6 exception into specific test, capturing that the expected ↵Jason R. Coombs2016-04-201-6/+12
| | | | order is different on Python 2.6, not because of the lack of OrderedDict, but because of different behavior in RawConfigParser. Ref #553.
* Extract method for validating the order.Jason R. Coombs2016-04-201-8/+14
|
* Remove superfluous sliceJason R. Coombs2016-04-201-2/+2
|
* DedentJason R. Coombs2016-04-201-16/+16
|
* Remove unused importJason R. Coombs2016-04-201-5/+0
|
* Use OrderedDict to retain deterministic ordering of version info in egg_info ↵Jason R. Coombs2016-04-203-14/+18
| | | | command. Remove lexicographic ordering in setopt.edit_config. Ref #553
* Preserve order of egg_info section in setup.cfgDavanum Srinivas2016-04-192-2/+67
| | | | | | | | | | | | 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.
* Handle not-zip-safe egg (folder) deletion in rotate commandRick Liu2016-04-151-1/+5
|