summaryrefslogtreecommitdiff
path: root/setuptools/dist.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix . When value is false return instead of raising DistutilsSetupError ↵Jam Hernandez Quiceno2023-04-201-0/+1
| | | | exception
* Apply suggestions from code reviewAnderson Bravalheri2023-03-191-1/+1
| | | Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
* Cluster deprecations due_dateAnderson Bravalheri2023-03-071-3/+3
|
* Use new warnings in setuptools/dist.pyAnderson Bravalheri2023-03-071-30/+52
|
* Add a DeprecationWarning to pkg_resources.declare_namespace (#3434)Anderson Bravalheri2023-02-131-1/+3
|\
| * Add links explaining deprecationsAnderson Bravalheri2023-02-131-1/+3
| |
* | Centralize usage of pkg_resources from dist.py to installer.pyAnderson Bravalheri2023-01-241-9/+3
| |
* | Prefer packaging instead of pkg_resources in dist.py for markersAnderson Bravalheri2023-01-231-2/+12
| |
* | Prefer setuptools._normalization and importlib_metadata instead of ↵Anderson Bravalheri2023-01-231-6/+8
|/ | | | pkg_resources in dist.py
* Add files referenced by file: directive in setup.cfg to sdistAnderson Bravalheri2023-01-191-1/+6
|
* Fix logging errors - `underlying buffer has been detached` (#3690)Anderson Bravalheri2022-11-231-10/+2
|\
| * Fix logging errors: 'underlying buffer has been detached'Daniel Laügt2022-11-171-10/+2
| |
* | The default encoding of Python sources is UTF-8Dimitri Papadopoulos2022-11-201-1/+0
|/ | | | | | | Python 3 assumes the encoding is UTF-8 by default, and so do or should do tools such as text editors when opening Python files. No need to explicitly set `*- coding: utf-8 -*-`.
* 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
|