summaryrefslogtreecommitdiff
path: root/setuptools/command
Commit message (Collapse)AuthorAgeFilesLines
* Fix logging using arguments instead of formatterValentin Valls2016-08-031-7/+7
|
* Revert "Ensure that tmpdir is unicode. Fixes #704."Mehdi Abaakouk2016-08-021-1/+1
| | | | | | | | | | | | | | | | This reverts commit 857949575022946cc60c7cd1d0d088246d3f7540. As we can see on https://github.com/pypa/setuptools/issues/709, this breaks many things (easy_install C extensions, all py3.5 tests, run with LANG=C). So instead of fixing in a hurry all new bugs due to this, I propose to revert this commit until all downsides of this change have been investigated. Related bug: https://github.com/pypa/setuptools/issues/709 Related bug: https://github.com/pypa/setuptools/issues/710 Related bug: https://github.com/pypa/setuptools/issues/712
* Ensure that tmpdir is unicode. Fixes #704.Jason R. Coombs2016-07-301-1/+1
|
* Remove copy of rmtree, as Python 2.3 is no longer supported.Jason R. Coombs2016-07-291-33/+1
|
* Set sys path technique to raw by default. Fixes #674.Jason R. Coombs2016-07-231-1/+1
|
* Merge pull request #616 from fkrull/issue398Jason R. Coombs2016-07-222-1/+15
|\ | | | | Fix "failed to create process" issue on Windows
| * Ensure shebang lines are correctly quoted if sys.executable contains spaces.Felix Krull2016-06-262-1/+15
| | | | | | | | | | | | | | | | Fixes issue #398. This only special-cases sys.executable; if the --executable parameter is used, paths with spaces have to be quoted there explicitly. While this change also applies to Unix platforms, if sys.executable contains spaces on Unix, any shebang lines created with it aren't going to work either way, whether they are quoted or not.
* | Use 'except Exception:' instead of 'except:'.stepshal2016-07-222-3/+3
| |
* | Disable os.link during make_distribution. Fixes #516.Jason R. Coombs2016-07-211-0/+27
| | | | | | | | Note that better would be if sdist provided some sort of hooks to better control the file copying, but since it does not, this technique will suffice for now.
* | Add missing blank lines after class or function definition.stepshal2016-07-212-0/+3
| |
* | Merge pull request #655 from stepshal/imorts_in_same_blockJason R. Coombs2016-07-201-1/+1
|\ \ | | | | | | Put imports in same block alphabeticaly.
| * | Put imports in same block alphabeticaly.stepshal2016-07-141-1/+1
| | |
* | | Use isinstance() instead of type() for a typecheck.stepshal2016-07-141-1/+1
|/ /
* | Fix quantity of blank lines after code object.stepshal2016-07-138-0/+10
| |
* | Don't use deprecated 'U' flag to read manifestVictor Stinner2016-06-291-1/+1
| | | | | | | | | | | | | | | | The universal newlines mode ('U' flag) is deprecated since Python 3.4. It only replaces "\r\n" with "\n", but it doesn't split lines at "\r" (Mac newline). In practice, the flag was useless, the sdist.read_manifest() method already uses line.strip() and so removes newline characters.
* | Mark tag_svn_revision as deprecated. Ref #619.Jason R. Coombs2016-06-241-0/+4
| |
* | Nicer indentationJason R. Coombs2016-06-241-2/+4
|/
* Remove ARM launchers. Fixes #611.Jason R. Coombs2016-06-091-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
| |
* | 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.
* Use itertools.chain for more lenient support of any iterable types and also ↵Jason R. Coombs2016-05-221-2/+4
| | | | more uniform indentation.
* 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
|
* Merge pull request #586 from last-g/bug/shadowbugJason R. Coombs2016-05-211-0/+5
|\ | | | | Get real `site-packages`
| * Get site-packages dirs from site.py tooLast G2016-05-191-0/+5
| |
* | 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
* 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-201-1/+1
|