summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Always cast to str on Linux and Python 2, let rmtree handle the rest. Fixes ↵Jason R. Coombs2017-02-031-1/+0
| | | | #953.
* Rely on backports.unittest_mock plugin to make mock available on old Python ↵Jason R. Coombs2017-01-302-8/+2
| | | | versions. Ref #949.
* Merge pull request #930 from GandaG/build_clibJason R. Coombs2017-01-285-1/+211
|\ | | | | Add timestamp-based dependency system to build_clib
| * Added build_clib module and unit tests.Daniel Nunes2017-01-193-1/+158
| | | | | | | | | | Added rudimentary dependency system for build_libraries. Added obj_deps and cflags keys to build_info dictionary.
| * Added tests for newer_pairwise_group().Daniel Nunes2017-01-151-0/+30
| |
| * Added newer_pairwise_group() convenience function.Daniel Nunes2017-01-141-0/+23
| |
* | Merge test with fix. Ref #913.Jason R. Coombs2017-01-241-1/+1
|\ \
| * \ Merge pull request #913 from davidszotten/package_dir_trailing_slashJason R. Coombs2017-01-241-1/+1
| |\ \ | | | | | | | | strip trailing slash from package_dir before counting slashes
| | * | strip trailing slash from package_dir before counting slashesDavid Szotten2017-01-051-1/+1
| | |/
* | | Add tests for _resolve_setup_path, including one that elicits the error ↵Jason R. Coombs2017-01-241-0/+16
| | | | | | | | | | | | reported in #913.
* | | Extract staticmethod for resolving setup pathJason R. Coombs2017-01-241-7/+20
|/ /
* | Prefer list comprehension to init/append loop. Ref #936.Jason R. Coombs2017-01-231-3/+5
| |
* | fixes #935 - allows for glob syntax in graftHatem Nassrat2017-01-232-1/+12
| |
* | Merge with masterJason R. Coombs2017-01-165-30/+33
|\ \
| * | Restore setuptools import, falsely identified as an unused import by linter.Jason R. Coombs2017-01-161-1/+2
| | |
| * | Remove unused importsJason R. Coombs2017-01-164-5/+2
| | |
| * | Simply invoke addstore twice, rather than looping.Jason R. Coombs2017-01-161-4/+4
| | |
| * | Rely on namespacing to discriminate between novel class and parent.Jason R. Coombs2017-01-161-5/+5
| | |
| * | Remove unused parameterJason R. Coombs2017-01-161-2/+1
| | |
| * | Remove unused importJason R. Coombs2017-01-161-1/+0
| | |
| * | Replace global variable serving as an implicit cache with an explicit 'once' ↵Jason R. Coombs2017-01-161-5/+10
| | | | | | | | | | | | decorator.
| * | Refactor find_ca_bundle to simplify branching logic.Jason R. Coombs2017-01-161-17/+12
| | |
| * | Fix certifi fallback is not used on Windows.Ilya Kulakov2017-01-131-7/+14
| |/
* | Merge branch 'master' into feature/581-depend-not-bundleJason R. Coombs2017-01-131-8/+15
|\ \ | |/
| * Add a no-op property for 'tag_svn_revision' to suppress errors when ↵Jason R. Coombs2017-01-021-0/+12
| | | | | | | | distutils attempts to detect and set these values based on settings in setup.cfg as found in sdists built by earlier versions of setuptools. Ref #619.
| * More aggressively remove references to 'tag_svn_revision' option in ↵Jason R. Coombs2017-01-021-8/+3
| | | | | | | | egg_info. Ref #619.
* | Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-0140-57/+53
|/
* Drop support for 'tag_svn_version' distribution option. Fixes #619.Jason R. Coombs2017-01-012-24/+2
|
* Re-introduce _iter_code functionality as a Bytecode backport. Fixes failing ↵Jason R. Coombs2016-12-282-2/+49
| | | | tests. Ref #866.
* Merge proposals. Ref #866.Jason R. Coombs2016-12-282-23/+5
|\
| * Attempt to fix issue #866 by iterating over code with `dis.Bytecode` instead ↵Preston Landers2016-12-281-37/+6
| | | | | | | | | | | | | | | | | | | | | | | | of the internal `_iter_code`. The `dis` module was already used in `_iter_code` so I figured it was safe to use `Bytecode` from it. Not sure how this assumption holds up across all supported Python releases. I can only assume `Bytecode` wasn't there before when `_iter_code` was originally written? Note that `_iter_code` doesn't appear to be called anywhere in light of this change so I removed it. I should also note that `get_module_constant` has never worked with `setuptools.__version__` (returns -1) because it's not a string literal; it gets that attribute from another module. But this change does work in cases where a string literal is requested. https://github.com/pypa/setuptools/issues/866
* | Use dis module rather than manually disassembling the bytecode. Fixes #866.Jason R. Coombs2016-12-281-31/+5
| |
* | Add two more tests for _iter_code per #866, capturing the apparent ↵Jason R. Coombs2016-12-281-0/+12
| | | | | | | | expectation in the byte-code processing that's now failing on Python 3.6.
* | Add tests capturing failure of depends.get_module_constant on Python 3.6. ↵Jason R. Coombs2016-12-282-0/+17
|/ | | | Ref #866.
* Merge branch 'issue-889'v32.3.0Jason R. Coombs2016-12-241-4/+9
|\
| * Traverse the class hierarchy when searching for the unpatched class. Ref #889.Jason R. Coombs2016-12-241-4/+9
| |
* | Merge with issue-889. Ref #889.Jason R. Coombs2016-12-242-1/+84
|\ \ | |/
| * Apply patch, disabling interpolation. Fixes #889.Jason R. Coombs2016-12-141-1/+1
| |
| * Backport config file parsing behavior from Python 3.7. Ref #889.Jason R. Coombs2016-12-142-1/+84
| |
* | Re-use test.paths_on_pythonpath to extend the PYTHONPATH variable rather ↵Jason R. Coombs2016-12-222-13/+16
| | | | | | | | than erasing it. When tests are run under pytest-runner (or other setup.py test invocations), the PYTHONPATH is carefully curated to include dependencies and the project under test. Overwriting PYTHONPATH will break tests in those environments. Fixes #884.
* | Cast the value to rmtree to bytes on Linux and Python 2 when the ↵Jason R. Coombs2016-12-213-3/+13
| | | | | | | | filesystemencoding is ascii, and let posixpath work its voodoo. Fixes #706.
* | In sandbox.run_setup, always ensure that __file__ is str. Fixes #712.issue-704Jason R. Coombs2016-12-181-1/+8
| |
* | Move toward future compatibility using unicode strings, but cast to native ↵Jason R. Coombs2016-12-181-8/+4
| | | | | | | | str as workaround for #709, #710, and #712.
* | Extract tmpdir as a context managerJason R. Coombs2016-12-181-9/+14
| |
* | Can't use six.u as 'c:\users' triggers unicode_escape and fails. Ref #704.Jason R. Coombs2016-12-181-1/+1
| |
* | When invoking rmtree, ensure the parameter is unicode to avoid errors when ↵Jason R. Coombs2016-12-182-4/+5
| | | | | | | | the tree contains Unicode filenames. Fixes #704.
* | Raise DistutilsError and log resultCédric Krier2016-12-161-2/+5
| |
* | Exit on test failureCédric Krier2016-12-161-1/+3
| | | | | | | | | | When test fails, it should not continue to run other commands. Fixes #891
* | Revert "Fix #849 global-exclude globbing"Tim Heap2016-12-152-14/+2
|/ | | | This reverts commit 23aba916e1070d3cf9723af85a6ce07c89053931.
* Skip again on appveyorJason R. Coombs2016-12-131-0/+2
|