aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Remove detect_encoding, no longer used.Jason R. Coombs2019-04-051-13/+0
|
* Correct cyrillic to match preferred pronunciation.Jason R. Coombs2019-04-051-2/+2
|
* Add compatibility for Python 2Jason R. Coombs2019-04-051-3/+3
|
* Add test for setopt to demonstrate that edit_config retains non-ASCII ↵Jason R. Coombs2019-04-051-0/+36
| | | | characters.
* When reading config files, require them to be encoded with UTF-8. Fixes #1702.Jason R. Coombs2019-04-052-29/+11
|
* Feed the hobgoblins (delint).Jason R. Coombs2019-04-052-7/+9
|
* Merge pull request #1720 from pganssle/fix_setup_metaPaul Ganssle2019-03-162-1/+56
|\ | | | | Support requirement parsing in setuptools.build_meta
| * Use pkg_resources.parse_requirements in build_metaPaul Ganssle2019-03-161-41/+2
| | | | | | | | | | Since pkg_resources is imported elsewhere anyway, we don't get much value out of porting the requirement parser locally.
| * Extend requirement parsing tests to sdistsPaul Ganssle2019-03-161-3/+12
| |
| * Add requirement parsing in setuptools.build_metaPaul Ganssle2019-03-162-14/+53
| | | | | | | | | | | | | | | | | | This fixes GH #1682 by porting the pkg_resources requirement parsing logic into setuptools.build_meta, so that all valid requirement specifiers passed to setup_requires will be added to the get_requires_for_build_* function outputs. Fixes GH #1682
| * Add failing test for setup_requiresPaul Ganssle2019-03-161-0/+46
| | | | | | | | | | | | | | | | | | Per GH #1682, with setuptools.build_meta we are not properly handling the situation where setup_requires is actually a newline-delimited string rather than a list, which is supported by setup.py interface. This adds several failing (and some passing) tests for how setup_requires is handled by setuptools.build_meta.
* | Fix typo in docstring (#1718)Dustin Ingram2019-03-161-1/+1
|/
* Remove duplicate import io (#1713)Frédéric Chapoton2019-03-061-1/+0
| | | Found by lgtm
* Automatically skip tests that require networkPaul Ganssle2019-02-231-10/+41
|
* tests: improve `test_pip_upgrade_from_source`Benoit Pierre2019-02-221-1/+15
| | | | | Parametrize the test to check different versions of pip (including master) are correctly supported.
* Add support for setup.cfg-only projectsPaul Ganssle2019-02-072-5/+34
| | | | | | Many projects can get away with an empty `setup.py` and use *only* the declarative `setup.cfg`. With the new PEP 517 backend, we can supply a default empty `setup.py` if one is not provided.
* Rename build_meta:legacy to build_meta:__legacy__Paul Ganssle2019-02-052-3/+3
|
* Move build_meta_legacy to build_meta:legacyPaul Ganssle2019-02-033-56/+49
| | | | | | Rather than exposing a top-level module for the legacy backend, we will move the legacy backend into the `setuptools.build_meta` module and specify it using the module:object syntax.
* Use absolute path in build_meta_legacyPaul Ganssle2019-02-031-3/+4
| | | | | Using the absolute path to the directory of the setup script better mimics the semantics of a direct invocation of python setup.py.
* Set sys.path in try/finally block with commentPaul Ganssle2019-02-031-8/+16
| | | | | Per Nick Coghlan's suggestion on PR #1652, a try/finally block ensures that the path is restored even in the event of an error.
* Add build_meta_legacy backendPaul Ganssle2019-02-032-1/+44
| | | | | | | This is part of the solution to GH #1642, it is a backwards-compatibility backend that can be used as a default PEP 517 backend for projects that use setuptools but haven't opted in to build_meta.
* Add failing test suite for build_meta_legacyPaul Ganssle2019-02-031-0/+13
| | | | | | This runs all build_meta tests, plus a test that it is possible to import from the directory containing `setup.py` when using the build_meta_legacy backend.
* Add test for relative path imports in build_metaPaul Ganssle2019-02-031-0/+20
| | | | | | Failing test adapted from PR #1643 Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* Wrap build_meta tests in a reusable test classPaul Ganssle2019-02-031-134/+134
|
* Add __all__ to setuptools.build_metaPaul Ganssle2019-02-031-0/+6
|
* Wrap build_meta backend in a classPaul Ganssle2019-02-031-90/+97
| | | | | | | In order to support both the `build_meta` and `build_meta_legacy` backends, the core functionality is wrapped in a class with methods to be overridden in build_meta_legacy. The class is an implementation detail and should remain private.
* Merge tag 'v40.7.3'Jason R. Coombs2019-02-031-8/+12
|\ | | | | | | Bump version: 40.7.2 → 40.7.3
| * Also restore port consideration when re-injecting credentials for found links.Jason R. Coombs2019-02-031-1/+1
| |
| * Revert to using a copy of splituser from Python 3.8. Using ↵Jason R. Coombs2019-02-031-7/+11
| | | | | | | | urllib.parse.urlparse is clumsy and causes problems as reported in #1663 and #1668. Alternative to #1499 and fixes #1668.
* | Merge pull request #1665 from pypa/bugfix/1663-restore-portJason R. Coombs2019-01-311-1/+1
|\| | | | | Ensure port is included in package-index
| * Ensure a specified port in package_index isn't lost in the parse/unparse of ↵Jason R. Coombs2019-01-311-1/+1
| | | | | | | | the URL when auth is present. Fixes #1663.
* | Merge branch '40.7-maintenance'Jason R. Coombs2019-01-283-1/+93
|\|
| * Prefer native strings on Python 2 when reading config files. Fixes #1653.Jason R. Coombs2019-01-281-1/+21
| |
| * test: add a simple regression test for `build_ext`Benoit Pierre2019-01-282-0/+72
| |
* | tests: minor cleanupBenoit Pierre2019-01-281-9/+1
| |
* | Merge branch 'master' into license-fix-357Jason R. Coombs2019-01-2741-351/+1442
|\|
| * Merge pull request #1180 from ↵Jason R. Coombs2019-01-276-89/+288
| |\ | | | | | | | | | | | | benoit-pierre/fix_889_and_non-ascii_in_setup.cfg_take_2 improve encoding handling for `setup.cfg`
| | * Fix test failure by better detecting string options from an updated ↵Jason R. Coombs2019-01-261-1/+1
| | | | | | | | | | | | ConfigParser.
| | * Adopt distutils.dist.Distribution._set_command_options to support better ↵Jason R. Coombs2019-01-261-0/+48
| | | | | | | | | | | | string detection.
| | * Given that the config file parsing functionality is unlikely to change ↵Jason R. Coombs2019-01-253-99/+87
| | | | | | | | | | | | upstream, just incorporate the functionality directly.
| | * Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2Jason R. Coombs2019-01-2580-585/+12361
| | |\
| | * | improve encoding handling for `setup.cfg`Benoit Pierre2017-10-255-15/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136.
| | * | add test to ensure `setup.cfg` interpolation behavior remain unchangedBenoit Pierre2017-10-251-0/+10
| | | |
| * | | Feed the hobgoblins (delint).Jason R. Coombs2019-01-2622-140/+183
| | |/ | |/|
| * | Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-1/+3
| | |
| * | Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-5/+6
| | |
| * | Merge pull request #1625 from pypa/bugfix/1623-always-targzJason R. Coombs2019-01-032-1/+20
| |\ \ | | | | | | | | In build_meta (PEP 517), always built gztar
| | * | Always specify formats=gztar, overriding the project's legacy expectation ↵Jason R. Coombs2019-01-021-1/+1
| | | | | | | | | | | | | | | | that a zip sdist should be generated. Fixes #1623.
| | * | Add test capturing failure. Ref #1623.Jason R. Coombs2019-01-021-0/+19
| | | |
| * | | Extract common behavior into a functioniterator-unpackJason R. Coombs2019-01-021-14/+11
| | | |