Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt distutils #2143

Merged
merged 2,861 commits into from
Jul 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2861 commits
Select commit Hold shift + click to select a range
35127ee
Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py
zooba Aug 8, 2015
2c9d936
Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py
zooba Aug 8, 2015
d7f14ca
Use modern mechanism for test discovery
jaraco Aug 30, 2015
2822a45
Issue #12285: Add test capturing failure.
jaraco Aug 30, 2015
3bf3f37
Add another test capturing the basic discovery expectation.
jaraco Aug 30, 2015
0846f06
Issue #25027: Reverts partial-static build options and adds vcruntime…
zooba Sep 9, 2015
fd5d6fb
Moves distutils test import within skippable class.
zooba Sep 9, 2015
465364f
Whitespace fixes to make the commit hook on hg.python.org happy.
larryhastings Sep 9, 2015
acb3d0a
Merge from 3.5.
larryhastings Sep 9, 2015
2509f6b
fix name of argument in docstring and the docs (closes #25076)
benjaminp Sep 13, 2015
741b147
merge 3.4
benjaminp Sep 13, 2015
a8ea322
merge 3.5 (#25076)
benjaminp Sep 13, 2015
e54077b
Add docstring and additional test revealing nuances of the implementa…
jaraco Sep 19, 2015
656ef57
Sort result to avoid spurious errors due to order.
jaraco Aug 30, 2015
b7236c1
Issue #12285: Replace implementation of findall with implementation f…
jaraco Sep 19, 2015
f8a5195
Issue #25316: distutils raises OSError instead of DistutilsPlatformEr…
zooba Oct 5, 2015
4d1852a
Issue #25316: distutils raises OSError instead of DistutilsPlatformEr…
zooba Oct 5, 2015
f06fb88
Issue #25523: Correct "a" article to "an" article
vadmium Nov 2, 2015
2b24d34
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
vadmium Nov 2, 2015
1e72fee
Issue #25523: Merge a-to-an corrections from 3.5
vadmium Nov 2, 2015
1b3e7be
Restore old distutils logging threshold after running test_log.
serhiy-storchaka Nov 12, 2015
a79ae54
Restore old distutils logging threshold after running test_log.
serhiy-storchaka Nov 12, 2015
b8855eb
Restore old distutils logging threshold after running test_log.
serhiy-storchaka Nov 12, 2015
4e0ac6d
Issue #25607: Restore old distutils logging threshold after running t…
serhiy-storchaka Nov 12, 2015
d569bea
Issue #25607: Restore old distutils logging threshold after running t…
serhiy-storchaka Nov 12, 2015
607daf8
Issue #25607: Restore old distutils logging threshold after running t…
serhiy-storchaka Nov 12, 2015
bafe9fb
Issue #25850: Use cross-compilation by default for 64-bit Windows.
zooba Jan 16, 2016
3a999a7
Issue #25850: Use cross-compilation by default for 64-bit Windows.
zooba Jan 16, 2016
7a7aaaf
Issue #26071: bdist_wininst created binaries fail to start and find 3…
zooba Jan 16, 2016
86c82ed
Issue #26071: bdist_wininst created binaries fail to start and find 3…
zooba Jan 16, 2016
3494198
subprocess._optim_args_from_interpreter_flags()
vstinner Jan 18, 2016
605d57a
Issue #25985: sys.version_info is now used instead of sys.version
serhiy-storchaka Feb 11, 2016
ef3d89d
Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
ned-deily Feb 24, 2016
f9e0f03
Issue #25136: merge from 3.5
ned-deily Feb 24, 2016
39b8090
Issue #26089: Remove duplicate field 'license' from DistributionMetadata
berkerpeksag Apr 23, 2016
95f6afb
Issue #23277: Remove more unused sys and os imports.
serhiy-storchaka Apr 24, 2016
905adfc
Issue #23277: Remove unused imports in tests.
serhiy-storchaka Apr 24, 2016
1746f3c
Removed unused imports.
serhiy-storchaka Apr 24, 2016
a1b5cde
Issue #20120: Use RawConfigParser for .pypirc parsing, removing suppo…
jaraco May 4, 2016
82518cc
Issue #20120: Merge with 3.5
jaraco May 4, 2016
30a0d1c
Issue #27076: Doc, comment and tests spelling fixes
vadmium May 26, 2016
bcd79d7
Issue #27076: Merge spelling from 3.5
vadmium May 26, 2016
3f054be
Issue #27171: Fix typos in documentation, comments, and test function…
vadmium Jun 2, 2016
4f2cc60
Issue #27171: Merge typo fixes from 3.5
vadmium Jun 2, 2016
2938916
Issue #21776: distutils.upload now correctly handles HTTPError
berkerpeksag Jun 2, 2016
25d5cb6
Issue #21776: Merge from 3.5
berkerpeksag Jun 2, 2016
f53e0f4
final step in backout of bad default->3.5 merge d085b4f779af. merge 3…
ned-deily Jun 3, 2016
28c7a3a
final final step in backout of bad default->3.5 merge d085b4f779af: n…
ned-deily Jun 3, 2016
f1c1813
- Issue #26884: Fix linking extension modules for cross builds.
doko42 Jun 4, 2016
00de7de
- merge 3.5
doko42 Jun 4, 2016
5b8e477
- Issue #21272: Use _sysconfigdata.py to initialize distutils.sysconfig.
doko42 Jun 4, 2016
7c3fafb
Issue #20900: distutils register command now decodes HTTP responses c…
berkerpeksag Jun 10, 2016
1bacd98
Issue #20900: Merge from 3.5
berkerpeksag Jun 10, 2016
9070733
- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
doko42 Jun 14, 2016
089c6f4
- Issue #23968: Update distutils/sysconfig.py to look for the renamed
doko42 Jun 14, 2016
7b9d082
Issue #27048: Prevents distutils failing on Windows when environment …
zooba Jun 17, 2016
8c031e1
Issue #27048: Prevents distutils failing on Windows when environment …
zooba Jun 17, 2016
574bde6
Issue #27349: Fix typo in distutils upload command
berkerpeksag Jun 18, 2016
cb19a18
Issue #27349: Merge from 3.5
berkerpeksag Jun 18, 2016
32821f0
Issue #20120: Add a test case to verify the % char can be used in .py…
berkerpeksag Jun 20, 2016
92b641b
Issue #20120: Merge from 3.5
berkerpeksag Jun 20, 2016
90d7e0e
Make PyPIRCCommandTestCase derive from a base class
berkerpeksag Jun 24, 2016
0535891
Merge from 3.5
berkerpeksag Jun 24, 2016
eb17f80
Switch to the new upload url for PyPI
dstufft Jul 6, 2016
cbbadc2
Switch to the new upload url for PyPI
dstufft Jul 6, 2016
aa7e44a
merge 3.4
benjaminp Jul 6, 2016
bdbe5d3
merge 3.5
benjaminp Jul 6, 2016
e1a61f1
merge 3.3
benjaminp Jul 6, 2016
e2f980f
merge 3.4
benjaminp Jul 6, 2016
cfc30d2
merge 3.5
benjaminp Jul 6, 2016
f568a51
Fix a test with the new upload URL
dstufft Jul 6, 2016
7e3c183
merge 3.5
dstufft Jul 6, 2016
f11c5c1
English spelling and grammar fixes
vadmium Jul 11, 2016
312789e
Issue #23804: Merge spelling and NEWS fixes from 3.5
vadmium Jul 11, 2016
7c0cfe7
Issue #27472: Add test.support.unix_shell as the path to the default …
Jul 22, 2016
c3f23f7
Issue #20767: Fix -R option for FreeBSD/clang.
skrah Aug 3, 2016
46de14a
Merge 3.5.
skrah Aug 3, 2016
e639c9f
Switch upload.pypi.io to upload.pypi.org
dstufft Aug 3, 2016
beb9809
Merge 3.3
dstufft Aug 3, 2016
50ac1f8
Merge 3.4
dstufft Aug 3, 2016
2d5cb97
Merge 3.5
dstufft Aug 3, 2016
774707d
Issue #27819: Simply default to gztar for sdist formats by default on…
jaraco Aug 20, 2016
f3f736a
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
rhettinger Aug 30, 2016
3ac5842
Closes #27904: Improved logging statements to defer formatting until …
vsajip Aug 31, 2016
0685847
#27904: fix distutils tests.
bitdancer Aug 31, 2016
ac97b02
Issue #27919: Deprecate extra_path option in distutils.
jaraco Sep 1, 2016
d616140
Issue #12285: Merge with 3.4
jaraco Sep 2, 2016
7aa4127
Issue #12885: Merge with 3.5
jaraco Sep 2, 2016
b15f55c
Backed out changeset cc86e9e102e8
jaraco Sep 2, 2016
088d78d
Merge backout for test suite fix
jaraco Sep 2, 2016
3035627
Merge backout for test suite fix
jaraco Sep 2, 2016
bfef652
Issue #12885: Revert commits in 3.4 branch which is security-only fixes.
jaraco Sep 2, 2016
8caede0
Issue #12885: Merge with 3.4, retaining commits reverted there.
jaraco Sep 2, 2016
136f4f7
Issue #12885: Merge with 3.5
jaraco Sep 2, 2016
175d71c
Issue #27960: Revert state to 675e20c38fdac6, backing out all changes…
jaraco Sep 6, 2016
be95a04
Issue #27960: Merge with 3.4
jaraco Sep 6, 2016
7db5b1e
Issue #27960: Merge with 3.5
jaraco Sep 6, 2016
84f3558
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
vadmium Sep 7, 2016
fe96d2a
Issue #27993: Merge plural fixes from 3.5
vadmium Sep 7, 2016
fe41e07
#27364: fix "incorrect" uses of escape character in the stdlib.
bitdancer Sep 8, 2016
d0f8468
Issue #28046: Fix distutils
zware Sep 10, 2016
ba17bde
Issue #22493: Inline flags now should be used only at the start of the
serhiy-storchaka Sep 11, 2016
8a0f7a5
Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA…
Sep 11, 2016
0c6f3d3
build_ext: correctly parse the link_objects user option (closes #1703…
benjaminp Sep 29, 2016
ae14a8c
merge 3.5 (#1703178)
benjaminp Sep 29, 2016
b8032e1
Issue #13756: Fix building extensions modules on Cygwin
zware Oct 1, 2016
06e8590
Issue #28222: Don't fail if pygments is not available
berkerpeksag Oct 4, 2016
fcfcd98
Issue #28222: Merge from 3.5
berkerpeksag Oct 4, 2016
f781331
Issue #28222: Merge from 3.6
berkerpeksag Oct 4, 2016
4511296
Remove wildcard imports from distutils.command.sdist
jaraco Oct 14, 2016
dcbe64d
Remove unused import and reorganize imports of modules.
jaraco Oct 14, 2016
03f46fc
Replace trailing comments with block-level comments
jaraco Oct 14, 2016
c6f6093
Get names for README files from class attribute, allowing subclass to…
jaraco Oct 14, 2016
8ed698d
Extract methods from sdist.add_defaults, allowing subclasses to overr…
jaraco Oct 14, 2016
3b05fac
Add case-sensitive file comparison for detecting/adding standard defa…
jaraco Oct 14, 2016
ed0dd7a
Make cs_path_exists a protected, static method
jaraco Oct 14, 2016
2a8668d
Some distutils tests require zlib for creating tar.gz source distribu…
serhiy-storchaka Oct 23, 2016
62a1a68
Some distutils tests require zlib for creating tar.gz source distribu…
serhiy-storchaka Oct 23, 2016
30ab4c4
Some distutils tests require zlib for creating tar.gz source distribu…
serhiy-storchaka Oct 23, 2016
874f6dd
Issue 26931: Skip the test_distutils tests using a compiler executable
Nov 17, 2016
54d05ca
Issue 26931: Merge 3.6
Nov 17, 2016
f63a2b9
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0…
zooba Dec 13, 2016
43a9414
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0…
zooba Dec 13, 2016
1e7a79f
Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0…
zooba Dec 13, 2016
5b38d9b
Fix spelling and grammar in code comments and documentation
vadmium Dec 18, 2016
a87ddfa
Merge spelling and grammar from 3.5
vadmium Dec 18, 2016
5f468e1
Issue #28987: Merge doc and comment fixes from 3.6
vadmium Dec 18, 2016
4499210
Issue #29218: Remove unused install_misc command
berkerpeksag Feb 1, 2017
7bb68f6
bpo-11913: Add README.rst to the distutils standard READMEs list (#563)
kirbyfan64 Apr 14, 2017
9381f65
bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278)
vstinner Apr 25, 2017
2809183
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380)
vstinner May 2, 2017
37a5021
bpo-30273: Update sysconfig (#1464)
vstinner May 4, 2017
b19c861
bpo-30273: update distutils.sysconfig for venv's created from Python …
jkloth May 9, 2017
252748e
bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)
jdufresne May 18, 2017
c305224
remove IRIX support (closes bpo-31341) (#3310)
benjaminp Sep 4, 2017
91a97f1
bpo-31340: Change to building with MSVC v141 (included with Visual St…
zooba Sep 6, 2017
3a59689
Remove all mention of Windows IA-64 support (GH-3389)
zware Sep 6, 2017
d3c1d63
bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632)
zooba Sep 7, 2017
bc85ee9
bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and doc…
gronke Sep 25, 2017
6b18d32
remove support for BSD/OS (closes bpo-31624) (#3812)
benjaminp Sep 29, 2017
65cf5a8
fixes bpo-31866: remove code pertaining to AtheOS support (#4115)
benjaminp Oct 26, 2017
50a9c56
Replace KB unit with KiB (#4293)
vstinner Nov 8, 2017
9d391e7
bpo-29185: Fix `test_distutils` failures on Android (GH-4438)
xdegaye Nov 18, 2017
c644f6f
bpo-19610: setup() now raises TypeError for invalid types (GH-4519)
berkerpeksag Nov 23, 2017
f7194b8
bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)
vstinner Nov 28, 2017
3c144a6
bpo-32155: Revert distutils.config change (#4618)
vstinner Nov 28, 2017
cba37f7
bpo-19610: Warn if distutils is provided something other than a list …
nascheme Dec 5, 2017
b0138c4
bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851)
vstinner Dec 14, 2017
9a97c49
bpo-32588: Move _findvs into its own module and add missing _queue mo…
zooba Jan 18, 2018
b3168e5
bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)
bbayles Jan 26, 2018
f59e08f
Improve error message for "setup.py upload" without dist files (#21060)
merwok Feb 18, 2018
74d0f1d
bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
pitrou Jul 16, 2018
8be1611
bpo-34225: Ensure INCLUDE and LIB directories do not end with a backs…
zooba Jul 26, 2018
0e48f66
bpo-34530: Fix distutils find_executable() (GH-9049)
vstinner Sep 4, 2018
d2eb595
bpo-34605: Avoid master/slave terms (GH-9101)
vstinner Sep 7, 2018
4a6183a
bpo-34605: childs => children (GH-9102)
vstinner Sep 7, 2018
64f5d63
bpo-34421 avoid unicode error in distutils logging (GH-8799)
julienmalard Sep 8, 2018
b277efb
bpo-34605: Replace "pliant children" with "helpers" (GH-9195)
vstinner Sep 11, 2018
e5fede1
bpo-34011: Fixes missing venv files and other tests (GH-9458)
zooba Sep 20, 2018
323ff83
bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126)
serhiy-storchaka Sep 23, 2018
a23e74e
Use in-memory streams instead of NamedTemporaryFile. (GH-9508)
serhiy-storchaka Sep 23, 2018
f45153a
bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-…
zooba Oct 27, 2018
b841e0a
bpo-35133: Fix mistakes when concatenate string literals on different…
serhiy-storchaka Nov 5, 2018
15789c1
bpo-34738: Add directory entries in ZIP files created by distutils. (…
serhiy-storchaka Dec 5, 2018
95c0e28
bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)
pganssle Dec 17, 2018
f7d1e8f
bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)
vstinner Dec 18, 2018
8fa927e
bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10…
serhiy-storchaka Dec 20, 2018
1db80e4
bpo-11191: skip unsupported test_distutils case for AIX with xlc (GH-…
aixtools Dec 28, 2018
18e2218
Distutils no longer needs to remain compatible with 2.3 (GH-11423)
hroncok Jan 9, 2019
cb20330
bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11…
schlamar Jan 20, 2019
95d8624
bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)
zooba Feb 5, 2019
9d329c1
bpo-35198 Fix C++ extension compilation on AIX (GH-10437)
kadler Mar 4, 2019
f3e2090
bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (G…
asottile Mar 12, 2019
1078515
bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236)
vstinner Mar 15, 2019
4c60004
bpo-36235: Enhance distutils test_customize_compiler() (GH-12403)
vstinner Mar 18, 2019
868d849
bpo-31292: Fixed distutils check --restructuredtext for include direc…
flying-sheep Mar 27, 2019
817e0bd
bpo-35416: fix potential resource warnings in distutils (GH-10918)
BoboTiG Apr 8, 2019
88d1940
fix code styling (GH-12737)
methane Apr 9, 2019
ef2792f
bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764)
vstinner Apr 10, 2019
1d1c462
bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12858)
vstinner Apr 17, 2019
3dd8d68
bpo-35755: Don't say "to mimick Unix which command behavior" (GH-12861)
vstinner Apr 17, 2019
89a5c17
bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875)
vstinner Apr 25, 2019
eb3478f
bpo-21536: C extensions are no longer linked to libpython (GH-12946)
vstinner Apr 25, 2019
03ae9d8
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
paulmon Apr 25, 2019
736a36a
bpo-21536: On Android, C extensions are linked to libpython (GH-12989)
xdegaye Apr 29, 2019
9d9a6d3
bpo-21536: On Cygwin, C extensions must be linked with libpython (GH-…
embray May 24, 2019
b30cb46
Fix typos in docs and docstrings (GH-13745)
tirkarthi Jun 2, 2019
d048c41
bpo-11122: fix hardcoded path checking for rpmbuild in bdist_rpm.py (…
n0npax Jun 8, 2019
69b9350
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
paulmon Jun 12, 2019
eb834d0
bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-…
hroncok Jul 1, 2019
6b9a31e
bpo-37421: Fix test_distutils.test_build_ext() (GH-14564)
vstinner Jul 3, 2019
850d4fa
bpo-37481: Deprecate distutils bdist_wininst command (GH-14553)
vstinner Jul 5, 2019
3665ddc
bpo-36302: Sort list of sources (GH-12341)
bmwiedemann Aug 1, 2019
cab8dd1
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. …
serhiy-storchaka Aug 8, 2019
a85a638
bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184)
pablogsal Aug 8, 2019
cd848cb
closes bpo-37965: Fix compiler warning of distutils CCompiler.test_fu…
madebr Aug 28, 2019
5ffd6d2
bpo-38088: Fixes distutils not finding vcruntime140.dll with only v14…
zooba Sep 10, 2019
b099094
bpo-38839: Fix some unused functions in tests (GH-17189)
adamchainz Nov 19, 2019
2bf131d
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
aixtools Dec 15, 2019
c4419ed
bpo-38914 Do not require email field in setup.py. (GH-17388)
jugmac00 Dec 23, 2019
daf18dd
bpo-39432: Implement PEP-489 algorithm for non-ascii "PyInit_*" symbo…
scoder Feb 4, 2020
d6bd6b1
bpo-39555: Fix distutils test to handle _d suffix on Windows debug bu…
zooba Feb 6, 2020
8e5f7c2
bpo-39586: Deprecate distutils bdist_msi command (GH-18415)
hugovk Feb 10, 2020
d8d513d
bpo-38597: Never statically link extension initialization code on Win…
zooba Mar 3, 2020
c6f749b
bpo-39763: distutils.spawn now uses subprocess (GH-18743)
vstinner Mar 4, 2020
6e7341b
bpo-1294959: Add sys.platlibdir attribute (GH-18381)
vstinner Mar 10, 2020
c3ae6d4
bpo-40112: distutils test_search_cpp: Fix logic to determine if C com…
aixtools Apr 3, 2020
74e9f56
bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480)
jmroot Apr 22, 2020
ea19518
bpo-40443: Remove unused imports in tests (GH-19804)
vstinner Apr 30, 2020
a672328
bpo-40443: Remove unused imports in distutils (GH-19802)
vstinner Apr 30, 2020
b9d4832
bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095)
vstinner May 15, 2020
5210488
bpo-40698: Improve distutils upload hash digests (GH-20260)
tiran May 20, 2020
cd7d6d5
[maint] move all files into subfolder
xoviat Nov 8, 2017
b678ce3
Move distutils import to a separate file to avoid linter errors.
jaraco May 25, 2020
1515996
Update distutils patch to monkeypatch all paths from sys.path to ensu…
jaraco May 25, 2020
81aab2d
Ignore distutils when running tests.
jaraco May 25, 2020
781d42d
Fallback to 'lib' when 'sys.platlibdir' does not exist.
jaraco May 25, 2020
f0ba605
Merge branch 'jaraco/setuptools-merge' of https://github.com/pypa/dis…
jaraco May 25, 2020
020b6a4
Merge branch 'master' into distutils
jaraco May 30, 2020
4ac101a
Restore Python 3.5 syntax compatibility in distutils.dist.
jaraco May 31, 2020
9962c0a
Extract function for ensure_local_distuils
jaraco May 31, 2020
38a8632
Fallback to '_sysconfigdata' when platform-specific sysconfigdata is …
jaraco May 31, 2020
db7ff2e
Add changelog entry.
jaraco May 31, 2020
a8081a1
Update setuptools/distutils_patch.py
jaraco Jun 21, 2020
51e0627
Wordsmith
jaraco Jun 21, 2020
b596e4b
Replace distutils rather than requiring it to be present in advanec. …
jaraco Jun 21, 2020
5f8eebf
Add conftest so that tests can run under pytest
jaraco Jun 29, 2020
b8abfd2
Use tox for tests
jaraco Jun 29, 2020
73ac895
Fix test on Python 3.8 and earlier.
jaraco Jun 29, 2020
c202075
Mark test_venv to be skipped when running under a virtualenv as virtu…
jaraco Jun 29, 2020
00ce122
Restore Python 3.5 syntax compatibility in distutils.dist.
jaraco May 31, 2020
3a4c221
Fallback to '_sysconfigdata' when platform-specific sysconfigdata is …
jaraco May 31, 2020
71d738a
Restore Python 3.5 syntax compatibility in distutils.tests.test_build…
jaraco Jul 2, 2020
253d03c
Add compatibility module to fix failing tests on Python 3.5 due to mi…
jaraco Jul 2, 2020
a4eb112
Fix failing test in test_fileutil by adapting expectation based on Py…
jaraco Jul 2, 2020
4f1d159
Acknowledge and ignore warning about TestDistribution (it's a "test" …
jaraco Jul 2, 2020
2f1fae1
add pypy schemas
mattip Jun 28, 2020
12f74fb
do the minimum to fix sysconfig.py for PyPy, more will probably be ne…
mattip Jun 29, 2020
50d1761
no Makefile with PyPy and has own layout for python stdlib, site-pack…
mattip Jun 29, 2020
89d64e8
Skip test on PyPy where the functionality is disabled.
jaraco Jul 2, 2020
c3a052a
In test_unixcompiler.test_osx*, also patch sysconfig.get_config_vars …
jaraco Jul 2, 2020
76d53a8
Merge pull request #1 from pypa/feature/integrate-pypy
jaraco Jul 2, 2020
7a8c226
Merge https://github.com/pypa/distutils into distutils
jaraco Jul 2, 2020
d9998e6
fix test for deprecation warning
mattip Jun 29, 2020
9013321
catch some resource leaks
mattip Jun 29, 2020
c486771
Merge pull request #2221 from mattip/pypy
jaraco Jul 2, 2020
bb9fb1f
Move distutils into a submodule of setuptools.
jaraco Jul 3, 2020
9719296
Ensure the module is named 'distutils'. Avoids errors when distutils.…
jaraco Jul 3, 2020
2daf7f6
Merge pull request #2226 from pypa/distutils-nested
jaraco Jul 3, 2020
ca0065f
Update changelog.
jaraco Jul 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/2143.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Setuptools adopts distutils from the Python 3.9 standard library and no longer depends on distutils in the standard library. When importing ``setuptools`` or ``setuptools.distutils_patch``, Setuptools will expose its bundled version as a top-level ``distutils`` package (and unload any previously-imported top-level distutils package), retaining the expectation that ``distutils``' objects are actually Setuptools objects. Although this change is not expected to break any use cases, it will likely affect tool chains that are monkey-patching distutils or relying on Setuptools' own monkey-patching of distutils.
1 change: 1 addition & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def pytest_addoption(parser):
collect_ignore = [
'tests/manual_test.py',
'setuptools/tests/mod_with_constant.py',
'setuptools/_distutils',
]


Expand Down
3 changes: 2 additions & 1 deletion pkg_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,8 @@ def run_script(self, script_name, namespace):
script_filename = self._fn(self.egg_info, script)
namespace['__file__'] = script_filename
if os.path.exists(script_filename):
source = open(script_filename).read()
with open(script_filename) as fid:
source = fid.read()
code = compile(source, script_filename, 'exec')
exec(code, namespace, namespace)
else:
Expand Down
3 changes: 3 additions & 0 deletions setuptools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

import os
import functools

import setuptools.distutils_patch # noqa: F401

import distutils.core
import distutils.filelist
import re
Expand Down
11 changes: 11 additions & 0 deletions setuptools/_distutils/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This directory contains the Distutils package.

There's a full documentation available at:

http://docs.python.org/distutils/

The Distutils-SIG web page is also a good starting point:

http://www.python.org/sigs/distutils-sig/

$Id$
15 changes: 15 additions & 0 deletions setuptools/_distutils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""distutils

The main package for the Python Module Distribution Utilities. Normally
used from a setup script as

from distutils.core import setup

setup (...)
"""

import sys

__version__ = sys.version[:sys.version.index(' ')]

local = True
Loading