summaryrefslogtreecommitdiff
path: root/setuptools/extern
Commit message (Collapse)AuthorAgeFilesLines
* Remove pypackaging from extern in setuptoolsAnderson Bravalheri2023-01-231-2/+9
|
* setuptools/vendored: drop `nspektr`Benoit Pierre2022-07-021-1/+1
| | | | No needed anymore.
* Move _validate_pyproject to configAnderson Bravalheri2022-03-301-2/+1
|
* Merge branch 'main' into experimental/support-pyprojectAnderson Bravalheri2022-03-161-2/+2
|\
| * Vendor nspektr. Utilize it in Distribution._install_dependencies.Jason R. Coombs2022-03-131-1/+1
| |
* | Add `validate-pyproject` as a vendored dependencyAnderson Bravalheri2022-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to minimise dependencies, `validate-pyproject` has the ability to "dump" only the code necessary to run the validations to a given directory. This special strategy is used instead of the default `pip install -t`. The idea of using JSONSchema for validation was suggested in #2671, and the rationale for that approach is further discussed in https://github.com/abravalheri/validate-pyproject/blob/main/docs/faq.rst Using a library such as `validate-pyproject` has the advantage of incentive sing reuse and collaboration with other projects. Currently `validate-pyproject` ships a JSONSchema for the proposed use of `pyproject.toml` as means of configuration for setuptools. In the future, if there is interest, setuptools could also ship its own schema and just use the shared infrastructure of `validate-pyproject` (by advertising the schemas via entry-points).
* | Add `tomli` as vendorised dependencyAnderson Bravalheri2022-03-051-1/+1
|/ | | | | This eventually will allow reading project metadata directly from `pyproject.toml`
* Update vendoring for importlib_metadata to support vendored dependencies ↵Jason R. Coombs2022-02-061-1/+1
| | | | typing_extensions and zipp.
* Vendor jaraco.text with setuptools.Jason R. Coombs2022-02-051-1/+1
|
* Add importlib_resources and importlib_metadata to vendored packages.Jason R. Coombs2022-02-051-1/+4
|
* Vendor more_itertoolsJason R. Coombs2021-05-221-1/+1
|
* Use importlib.util.spec_from_loader in find_specSviatoslav Sydorenko2021-04-091-2/+2
|
* Drop deprecated `find_module` from vendor importerSviatoslav Sydorenko2021-04-081-8/+0
|
* Implement `find_spec` in vendored module importersSviatoslav Sydorenko2021-04-081-6/+15
| | | | | | | | | | | | | | | This change makes the import warning emitted by Python 3.10 disappear but implementing the hook that is supposed to replace the old import mechanism. Refs: * https://bugs.python.org/issue42134 * https://bugs.python.org/issue43540 * https://github.com/pypa/setuptools/issues/2632#issuecomment-815701078 Fixes #2632 Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Define create_module()/exec_module() in VendorImporterMiro Hrončok2021-01-041-0/+6
| | | | Fixes https://github.com/pypa/setuptools/issues/2481
* Remove six from 'extern' as vendored.Jason R. Coombs2020-08-161-1/+1
|
* Remove sys.modules hackDan Rose2019-10-271-7/+0
| | | | Fix #1888 (metadata accidentally not picklable), and removes a case where reimporting a vendored module results in a second copy of the same module.
* Add 'ordered_set' as a vendored packageJason R. Coombs2019-02-171-1/+1
|
* Switch over to using six.PY{2,3} when possiblePaul Ganssle2018-07-101-1/+1
|
* Drop support for EOL Python 3.3Hugo2018-05-241-1/+1
|
* Setuptools now vendors its own direct dependencies (packaging, six, ↵Jason R. Coombs2018-03-171-2/+2
| | | | pyparsing). Ref #1296.
* Copy VendorImporter. Ref #1296.Jason R. Coombs2018-03-171-1/+70
|
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-0/+4
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-4/+0
|
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Move six to pkg_resources for use there.Jason R. Coombs2016-01-041-1/+1
| | | | | --HG-- branch : feature/issue-229
* Combine separate VendorImporters into a single one in pkg_resources.externJason R. Coombs2016-01-021-44/+1
| | | | | --HG-- branch : feature/issue-229
* Pop the module off the stack, preventing the 'Version' class from having a ↵Jason R. Coombs2016-01-021-2/+1
| | | | | | | different manifestation in packaging than in pkg_resources. --HG-- branch : feature/issue-229
* Make VendorImporter more genericJason R. Coombs2016-01-021-13/+20
| | | | | --HG-- branch : feature/issue-229
* Create a PEP 302 importer for managing conditional import of vendored ↵Jason R. Coombs2016-01-022-45/+42
| | | | | | | packages from the 'extern' namespace. This technique avoids the use of 'imp' and works even when setuptools is installed as a zipped egg. Ref #229. --HG-- branch : feature/issue-229
* Make the technique even more genericJason R. Coombs2015-12-311-7/+6
| | | | | --HG-- branch : feature/issue-229
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-312-0/+46
now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229