summaryrefslogtreecommitdiff
path: root/setuptools/dist.py
Commit message (Collapse)AuthorAgeFilesLines
* setuptools: drop support for installing an entrypoint dependenciesBenoit Pierre2022-07-021-12/+0
| | | | | | | It does not work (broken since `v60.8.0`: the code in `_install_dependencies` forgets to add the newly installed egg to `sys.path`), and is unnecessary as it's the job of the code handling `setup_requires` to ensure all necessary build requirements are installed.
* Remove commaGyeongjae Choi2022-05-171-1/+1
|
* Add deprecation messages for `namespace_packages`.Anderson Bravalheri2022-05-161-0/+5
| | | | | | | | The docs in https://setuptools.pypa.io/en/latest/userguide/package_discovery.html and https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ suggest that this field is deprecated.
* do not backfill Project-URL: homepage into Home-page: field (causes ↵wim glenn2022-04-291-6/+16
| | | | duplicates on PyPI). prevent "UNKNOWN" vals from appearing in summary, license, platform. prevent an extra newline getting added in long description
* Decrease verbosity of _install_setup_requiresAnderson Bravalheri2022-03-271-5/+10
|
* Preserve _tmp_extras_require as an ordered setAnderson Bravalheri2022-03-271-2/+5
|
* Store install_requires and extras_require for future usageAnderson Bravalheri2022-03-271-0/+10
|
* Make sure to ignore option errors with MinimalDistributionAnderson Bravalheri2022-03-211-1/+1
|
* Merge branch 'main' into experimental/support-pyprojectAnderson Bravalheri2022-03-161-18/+4
|\
| * 👹 Feed the hobgoblins (delint).Jason R. Coombs2022-03-131-1/+1
| |
| * Vendor nspektr. Utilize it in Distribution._install_dependencies.Jason R. Coombs2022-03-131-17/+3
| |
* | Fix wrong order when partitioning TOML config filesAnderson Bravalheri2022-03-091-4/+6
| |
* | Automatic discovery of packages, py_modules and name (#2894)Anderson Bravalheri2022-03-071-0/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | It is desirable to have some configurations automatically derived. This is definitely possible for packages and py_modules, and (based on these two) also for name. This change adds a new class `setuptools.discovery.ConfigDiscovery` implementing the automatic discovery logic for packages, py_modules and name.
| * | Add implementation for automatic config discoveryAnderson Bravalheri2022-03-051-0/+11
| |/
* | Add pyproject.toml to dist.parse_config_filesAnderson Bravalheri2022-03-051-4/+14
|/
* Use new _entry_points.load to validate entry points.Jason R. Coombs2022-02-061-2/+3
|
* Port check_importable to metadata.EntryPointJason R. Coombs2022-02-061-1/+1
|
* Replaced use of iter_entry_points in setuptools.distJason R. Coombs2022-02-061-18/+44
|
* Replace use of parse_requirements with _reqs.parse.Jason R. Coombs2022-02-051-5/+6
|
* Merge pull request #3057 from cdce8p/optional-home_pageJason R. Coombs2022-01-301-8/+3
|\ | | | | Don't include `Home-page` with UNKNOWN value
| * Don't include Home-page with UNKNOWN valueMarc Mueller2022-01-281-8/+3
| |
* | Merge branch 'main' into missing_metadataJason R. Coombs2022-01-291-8/+14
|\ \ | |/
| * In dist, rely on packaging instead of distutils for version management.Jason R. Coombs2021-12-121-5/+8
| |
| * Update comment and docstring.Jason R. Coombs2021-11-291-2/+5
| |
| * When repairing bad summaries, use only the first line.Jason R. Coombs2021-11-281-1/+1
| |
| * Revert "Merge pull request #2870 from ↵Jason R. Coombs2021-11-281-4/+4
| | | | | | | | | | | | | | | | | | webknjaz/maintenance/fail-loudly-on-invalid-summary" This reverts commit 77678abf97b4a8ee5e6e67b14cb21f543cd6bfd9, reversing changes made to f2de34767a7ba6dc79b73e474b3e2ffdbfd6e75b. Fixes #2893.
| * Restore single_line as a simple, universal validator.Jason R. Coombs2021-11-121-6/+4
| |
| * Fail on a multiline distribution package summarySviatoslav Sydorenko2021-11-111-6/+8
| |
* | Refactor to calculate missing as a difference of sets. Simply emit all ↵Jason R. Coombs2022-01-291-14/+9
| | | | | | | | missing keys as repr() of that difference.
* | Remove hook in run_commands; a different hook point may be better.Jason R. Coombs2022-01-291-4/+0
| |
* | Only validate nameJason R. Coombs2022-01-291-2/+1
| |
* | WIP: Reject packages without required metadataPaul Ganssle2021-10-151-0/+23
|/ | | | This needs tests and probably formatting stuff.
* Rename to 'ignore_unless_false'.Jason R. Coombs2021-09-071-3/+3
|
* Make warning a DistDeprecationWarningJason R. Coombs2021-09-071-1/+1
| | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Do not error if use_2to3 is set to a false valueAndrew Plummer2021-09-071-2/+5
|
* Fail fast when use_2to3 is supplied.Jason R. Coombs2021-09-061-0/+4
|
* Remove time-based horizon.Jason R. Coombs2021-09-061-13/+6
|
* In Distribution.finalize_options, suppress known removed entry points for a ↵Jason R. Coombs2021-09-061-2/+25
| | | | year to avoid issues with older Setuptools. Fixes #2765.
* remove lib2to3 usageThomas Grainger2021-09-041-81/+87
|
* Add testJason R. Coombs2021-07-041-0/+6
|
* Restore the iteratorJason R. Coombs2021-07-041-2/+2
|
* setuptools/dist: Fix reproducibility issue by sorting globbingRichard Purdie2021-05-311-2/+2
| | | | | | | | | | | | | globbing uses os.listdir() which returns order on disk which is unsorted. Ultimately this leads to random ordering of License-File entries in PKG-INFO and means the resulting output isn't deterministic. Adding a sort fixes that. Switch to glob instead ot iglob since sorted() removes the benefit of an iterator. https://github.com/pypa/setuptools/issues/2691 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge branch 'main' into feature/more-itertoolsJason R. Coombs2021-05-221-4/+48
|\
| * Replace for/if/add/extend with generator on patterns. Use unique_everseen to ↵Jason R. Coombs2021-05-231-11/+30
| | | | | | | | dedupe.
| * Revert removal of license_fileMarc Mueller2021-05-231-4/+2
| |
| * Remove license_fileMarc Mueller2021-05-231-2/+4
| |
| * Fix after rebaseMarc Mueller2021-05-231-2/+2
| |
| * Keep user sorting for license filesMarc Mueller2021-05-231-6/+8
| |
| * Remove license_files_computed fieldMarc Mueller2021-05-231-4/+3
| |
| * Add License-File field to package metadataMarc Mueller2021-05-231-2/+35
| |