File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -406,32 +406,17 @@ def dump_dirs(self, msg):
406
406
407
407
def _load_schemes (self ):
408
408
"""
409
- Allow sysconfig and runtime behaviors to alter schemes.
409
+ Allow sysconfig to alter schemes.
410
410
"""
411
411
412
412
schemes = dict (INSTALL_SCHEMES )
413
413
414
414
try :
415
415
import sysconfig
416
416
schemes .update (sysconfig .INSTALL_SCHEMES )
417
- return schemes
418
417
except (ImportError , AttributeError ):
419
418
pass
420
419
421
- # debian:
422
- def is_deb_system ():
423
- # TODO: how to solicit without an additional parameter to build?
424
- return self .install_layout .lower () == 'deb'
425
-
426
- if is_deb_system ():
427
- schemes ['unix_prefix' ] = {
428
- 'purelib' : '$base/lib/python3/dist-packages' ,
429
- 'platlib' : '$platbase/lib/python3/dist-packages' ,
430
- 'headers' : '$base/include/python$py_version_short/$dist_name' ,
431
- 'scripts' : '$base/bin' ,
432
- 'data' : '$base' ,
433
- }
434
-
435
420
return schemes
436
421
437
422
def finalize_unix (self ):
You can’t perform that action at this time.
0 commit comments