Commit Graph

3145 Commits

Author SHA1 Message Date
Jason R. Coombs 4020c9a5fe Avoid loading working set during `Distribution.finalize_options` prior to invoking `_install_setup_requires`, broken since v42.0.0. Fixes #2158. 2020-05-28 20:20:03 -04:00
con-f-use 4835f01c41 use finalize_distribution_options entrypoint order
fixes #1993
2020-02-15 17:01:22 +01:00
Jason R. Coombs b5022cdbf6 Merge branch 'sys_argv' of https://github.com/aimileus/setuptools into maint/44.x 2020-01-14 18:43:48 -05:00
Hugo 796abd8dbe Fix for Python 4: replace unsafe six.PY3 with PY2 2020-01-08 19:10:11 +02:00
Jason R. Coombs 95accbbd4f
Merge pull request #1908 from benoit-pierre/drop_py34_support
drop support for Python 3.4
2020-01-01 18:31:19 -05:00
Jason R. Coombs 3d5b7775b7 Fix latin1 and utf8 tests on Python 2 2020-01-01 18:16:35 -05:00
Jason R. Coombs 90922a5eb9 Restore Python 2.7 compatibility 2020-01-01 11:54:53 -05:00
Jason R. Coombs a87f975e65 Remove unused import 2019-12-31 13:32:57 -05:00
Jason R. Coombs 9e3149802e Remove instance attribute; rely on tmpdir fixture; re-use touch helper. 2019-12-31 13:31:37 -05:00
Jason R. Coombs 9c40ab8861 Rewrite TestSdistTest setup/teardown_method as pytest fixture. 2019-12-31 13:29:43 -05:00
Jason R. Coombs 2eb3ba19f3 Restore Python 2.7 compatibility 2019-12-31 12:50:25 -05:00
Jason R. Coombs f171cde150 Add test for exclusion expectation. Ref #1650. 2019-12-31 12:47:46 -05:00
Tzu-ping Chung 8a7a627294 Add test ensuring pyproject.toml is included during PEP 517 build. 2019-12-29 12:47:46 -05:00
Jason R. Coombs a5b66a8581 Merge branch 'master' into feature/include-pyproject.toml 2019-12-29 12:47:31 -05:00
Jason R. Coombs 3910bbb8d5 Extract methods to separate _safe_data_files behavior and _add_data_files. 2019-12-21 22:23:20 -05:00
Jason R. Coombs f8a6f27b42 Merge branch 'master' into fix_handling_of_find-links_in_setup.cfg 2019-12-01 09:44:24 -05:00
Jason R. Coombs a2e883e1b8 Extract function to strip the marker for concise code in the long function. 2019-12-01 09:38:13 -05:00
Benoit Pierre 7502dc9ca7 fix possible issue with transitive build dependencies
Handle the case where a missing transitive build dependency is
required by an extra for an already installed build dependency.
2019-11-27 19:15:34 +01:00
Benoit Pierre 6f46a4b703 fix support for easy_install's find-links option in setup.cfg 2019-11-26 19:11:46 +01:00
Benoit Pierre 926c80f5e8 wheel: fix `is_compatible` implementation 2019-11-25 11:39:11 +01:00
Jason R. Coombs 1a5d06b584
Merge pull request #1877 from pypa/feature/distribution-options-hooks
Add new hook 'setuptools.finalize_distribution_options'
2019-11-23 14:40:44 -05:00
Jason R. Coombs e44d9bcd42
Merge pull request #1909 from benoit-pierre/resurrect_easy_install_script
Revert "drop easy_install script and associated documentation"
2019-11-23 14:16:53 -05:00
Jason R. Coombs e31c9f0c37
Merge pull request #1829 from benoit-pierre/update_pep425tags
wheel: switch to `packaging.tags` for checking PEP 425 tags
2019-11-16 21:30:09 -05:00
Benoit Pierre a1e956b20f Revert "drop easy_install script and associated documentation"
This reverts commit 6e1838a9fb.
2019-11-16 23:30:10 +01:00
Jason R. Coombs 68dbb70370
Merge pull request #1767 from kchmck/feat-license-files
Add support for `license_files` option in metadata
2019-11-16 15:19:37 -05:00
Jason R. Coombs 3e755ec7c2 Merge branch 'master' into feature/distribution-options-hooks 2019-11-16 13:08:45 -05:00
Jason R. Coombs 6b210c6593 Move all finalization of distribution options into hooks. Allow hooks to specify an index for ordering. 2019-11-16 12:06:47 -05:00
Benoit Pierre dc868755d5 drop support for Python 3.4 2019-11-15 22:13:35 +01:00
Benoit Pierre b8101f0653 deprecate easy_install command 2019-11-15 20:06:07 +01:00
Benoit Pierre 6e1838a9fb drop easy_install script and associated documentation 2019-11-15 20:06:07 +01:00
Benoit Pierre d6948c636f dist: re-implement `fetch_build_egg` to use pip 2019-11-15 20:06:07 +01:00
Benoit Pierre fed59d8374 tests: fix some pytest warnings under Python 2 2019-11-15 11:41:44 +01:00
Benoit Pierre 705d41e490
Merge pull request #1861 from benoit-pierre/fix_empty_namespace_package_wheel_install
Fix empty namespace package wheel install
2019-11-13 10:20:31 +00:00
Paul Ganssle f413f95e95
Remove "upload" and "register" commands.
The upload and register commands were deprecated over a year ago, in
July 2018 (PR GH-1410, discussed in issue GH-1381). It is time to
actively remove them in favor of twine.
2019-11-02 15:10:29 -04:00
Jason R. Coombs 0ced2c09cc
Merge pull request #1855 from isidentical/issue-479
Upgrade setuptools.depends to importlib from depracated imp
2019-10-29 09:32:45 -04:00
Batuhan Taskaya cfa9245a7d Remove 'sys' import 2019-10-29 10:53:40 +03:00
Batuhan Taskaya 20d6407aa5 Allow calling get_frozen_object without paths, raise ImportError when it cant find module 2019-10-29 10:51:54 +03:00
Jason R. Coombs 82689e1aa8 Ensure importlib.util is imported on Python 3.5 2019-10-28 22:06:44 -04:00
Jason R. Coombs e1f340b53f Avoid importerror on older Pythons 2019-10-28 22:01:34 -04:00
Jason R. Coombs 3a0520b43d Extract compatibility function into compatibility module. 2019-10-28 21:52:40 -04:00
Mick Koch e08ec2b640 Filter out missing files and use extend() 2019-10-28 19:16:13 -04:00
Mick Koch 4a31168e51 Use an OrderedSet for accumulating license files 2019-10-28 18:49:31 -04:00
Mick Koch 648dfe5afe Remove DALS for single-line strings 2019-10-28 18:38:30 -04:00
Mick Koch 823ab9d2ec Add support for `license_files` option in metadata 2019-10-28 18:30:31 -04:00
Benoit Pierre 7489ea4047 msvc: fix Python 2 support 2019-10-28 18:51:10 +01:00
Batuhan Taskaya 2f4952927e remove _resolve 2019-10-28 11:07:27 +03:00
Batuhan Taskaya ce01c0199f add docstring to find_module 2019-10-28 10:59:21 +03:00
Batuhan Taskaya 65fe7abeab py34 compat 2019-10-28 10:46:48 +03:00
Batuhan Taskaya 16051d6b2d imp load_module fix 2019-10-28 10:12:53 +03:00
Jason R. Coombs 4948b14a66 Avoid _resolve in get_module (causes failures). 2019-10-27 20:40:58 -04:00