summaryrefslogtreecommitdiff
path: root/setuptools/command
Commit message (Collapse)AuthorAgeFilesLines
* setuptools: drop support for installing an entrypoint dependenciesBenoit Pierre2022-07-021-1/+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.
* Improve warning messageAnderson Bravalheri2022-06-131-1/+1
|
* Add setuptools.command.build (#3256)Anderson Bravalheri2022-06-131-0/+24
|\
| * Test that users are informed about subcommands in distutilsAnderson Bravalheri2022-06-091-1/+1
| |
| * separate subcommands for setuptools classIsuru Fernando2022-06-091-1/+20
| | | | | | | | Original author: Anderson Bravalheri
| * Fix flake8 errorAnderson Bravalheri2022-04-111-0/+1
| |
| * Add setuptools.command.buildIsuru Fernando2022-04-071-0/+4
| | | | | | | | | | | | In order to override distutils.command.build on downstream projects it is good to have a setuptools specific command which allows downstream projects to avoid importing distutils.
* | Change warning about namespace packages and data filesAnderson Bravalheri2022-06-091-3/+4
| | | | | | | | This follows a suggestion given by users to improve clarity.
* | Improve warning message for package data abuseAnderson Bravalheri2022-06-051-5/+6
| |
* | Update setuptools/command/build_py.pyAnderson Bravalheri2022-05-181-1/+1
| | | | | | Co-authored-by: Michał Górny <mgorny@gentoo.org>
* | Improve warning message for dist_info._versionAnderson Bravalheri2022-05-181-1/+2
| |
* | Improve warning message for _IncludePackageDataAbuseAnderson Bravalheri2022-05-181-1/+4
| |
* | Warn about deprecation of behaviour that considers modules/packages as data ↵Anderson Bravalheri2022-05-161-2/+52
|\ \ | | | | | | | | | when include_package_data=True (#3308)
| * | Simplify checks for abuse of include_package_dataAnderson Bravalheri2022-05-061-19/+17
| | | | | | | | | | | | | | | | | | | | | Previously, the checks would result in a warning per module additionally to the parent package. Now only one warning per parent package is issued.
| * | Warn about packages/modules included as package dataAnderson Bravalheri2022-05-051-2/+54
| |/
* | Allow recursive globs for package_datanullableVoidPtr2022-05-071-1/+2
|/
* Fix version produced by dist_info (#3230)Anderson Bravalheri2022-04-042-3/+45
|\
| * Change dist_info naming to use the same convention as bdist_wheelAnderson Bravalheri2022-03-291-1/+33
| |
| * Restore tags in egg_info but change the idempotency checkAnderson Bravalheri2022-03-291-4/+9
| |
| * Fix duplicated version tags in egg_infoAnderson Bravalheri2022-03-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | Previously egg_info was adding duplicated tags to the version string. This was happening because of the version normalization. When the version normalization was applied to the string the tag was modified, then later egg_info could no longer recognize it before applying. The fix for this problem was to normalize the tag string before applying.
* | Merge pull request #3151 from hexagonrecursion/fix-editableJason R. Coombs2022-04-031-12/+6
|\ \ | |/ |/| Fix editable --user installs with build isolation
| * Fix editable --user installs with build isolationAndrey Bienkowski2022-03-061-12/+6
| | | | | | | | https://github.com/pypa/setuptools/issues/3019
| * Revert "XXX: Debugging"Andrey Bienkowski2022-03-061-37/+0
| | | | | | | | This reverts commit 6376ad10547315c15dfec719ff3f384e7a94dfc2.
| * XXX: DebuggingAndrey Bienkowski2022-03-061-0/+37
| |
* | Make install consider dist.run_command is overwritten in v61.0.0Anderson Bravalheri2022-03-251-8/+15
| | | | | | | | | | | | | | | | | | | | Starting in v61, setuptools.dist overwrites distutils.dist.run_command to add auto-discovery functionality on top of the original implementation. This change modifies the existing code in setuptools.command.install to consider that previous change when trying to decide if the install command was called directly from `setup.py` or not.
* | Add test for setup.py install and dependenciesAnderson Bravalheri2022-03-251-1/+3
|/
* Use super throughout.Jason R. Coombs2022-02-271-2/+2
|
* Just check for if destination file existsAnderson Bravalheri2022-02-271-2/+3
|
* Check for file existence before using samefileAnderson Bravalheri2022-02-271-1/+2
|
* Merge pull request #3137 from pypa/feature/samefile-nativeJason R. Coombs2022-02-261-18/+2
|\ | | | | Use samefile from stdlib, supported on Windows since Python 3.2.
| * Use samefile from stdlib, supported on Windows since Python 3.2.Jason R. Coombs2022-02-261-18/+2
| |
* | Extract method for processing site dirsJason R. Coombs2022-02-261-15/+22
| |
* | Move normpath into if block.Jason R. Coombs2022-02-261-3/+1
| |
* | Remove 'isinstance(int)' check and just validate unconditionally.Jason R. Coombs2022-02-261-3/+0
| |
* | Extract method to validate optimize parameter.Jason R. Coombs2022-02-261-9/+17
|/
* Prefer range().__contains__ for bounds check.Jason R. Coombs2022-02-261-1/+1
|
* Deprecated upload_docs command. Ref #2971Jason R. Coombs2022-02-171-0/+8
|
* Prefer jaraco.text for yield_lines.Jason R. Coombs2022-02-062-2/+5
|
* Refactor _entry_points to separate loading from rendering. Explicitly ↵Jason R. Coombs2022-02-061-1/+2
| | | | validate and restore validation of entry points that don't match the pattern.
* Extract module for entry point management.Jason R. Coombs2022-02-061-38/+2
|
* In test command, rely on metadata.EntryPoint for loading the value.Jason R. Coombs2022-02-061-5/+4
|
* In egg_info, port use of pkg_resources.EntryPoint to importlib.metadataJason R. Coombs2022-02-061-3/+11
|
* Extract function for converting entry points to a string.Jason R. Coombs2022-02-061-6/+14
|
* Refactor to extract entry_points_definition generation.Jason R. Coombs2022-02-061-16/+23
|
* Refactor to construct data in a single expression and extract 'to_str'.Jason R. Coombs2022-02-061-7/+9
|
* Remove duplicate check on ep is None.Jason R. Coombs2022-02-061-1/+1
|
* Avoid dual-use variable.Jason R. Coombs2022-02-061-3/+3
|
* Migrate remainder of 'iter_entry_points' to importlib_metadata.Jason R. Coombs2022-02-063-11/+14
|
* Replace use of parse_requirements with simple constructor.Jason R. Coombs2022-02-051-7/+3
|
* Move ensure_directory into setuptools.Jason R. Coombs2022-02-054-4/+8
|