summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Test quoting of shebang lines.Felix Krull2016-06-261-0/+88
| | | | | | | See issues #188 and #398; on Windows, the launcher executables support shebangs that use quotes to escape spaces, so these should be used when necessary. On the other hand, Unix systems don't support shebangs with quotes so they should never have quotes.
* Split up single TestScriptHeader test into multiple tests.Felix Krull2016-06-261-4/+7
|
* Remove CommandSpec.from_param test using sys.executable.Felix Krull2016-06-261-9/+0
| | | | | | | It was based on the assumption that CommandSpec.from_param(sys.executable) should always return a 1-element list. Since from_param parses the argument and sys.executable may contain unquoted spaces, this simply can't be guaranteed.
* Fix test_all_site_dirs on Windows.Felix Krull2016-06-261-3/+4
|
* Remove ARM launchers. Fixes #611.Jason R. Coombs2016-06-093-3/+0
|
* Merge pull request #597 from benjaoming/patch-1Jason R. Coombs2016-06-031-0/+4
|\ | | | | Ensure package name isn't unicode in Python2 distutils
| * Fixing #190 following proposal by @jaracoBenjamin Bach2016-06-021-0/+4
| |
* | Extract context manager for project_on_sys_path in test commandJason R. Coombs2016-06-031-5/+16
| |
* | 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
|