fix: file extension on windows with cp36 and cp37 (#3919)

This commit is contained in:
HaarigerHarald 2022-05-04 19:12:33 +02:00 committed by GitHub
parent bdc7dd8c31
commit f306012b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,10 +127,11 @@ if USE_SYSCONFIG:
scheme = 'posix_prefix' scheme = 'posix_prefix'
print(s.get_path('platinclude', scheme)) print(s.get_path('platinclude', scheme))
print(s.get_path('platlib')) print(s.get_path('platlib'))
print(s.get_config_var('EXT_SUFFIX') or s.get_config_var('SO'))
else: else:
print(ds.get_python_inc(plat_specific=True)); print(ds.get_python_inc(plat_specific=True));
print(ds.get_python_lib(plat_specific=True)); print(ds.get_python_lib(plat_specific=True));
print(s.get_config_var('EXT_SUFFIX') or s.get_config_var('SO')); print(ds.get_config_var('EXT_SUFFIX') or ds.get_config_var('SO'));
print(hasattr(sys, 'gettotalrefcount')+0); print(hasattr(sys, 'gettotalrefcount')+0);
print(struct.calcsize('@P')); print(struct.calcsize('@P'));
print(s.get_config_var('LDVERSION') or s.get_config_var('VERSION')); print(s.get_config_var('LDVERSION') or s.get_config_var('VERSION'));