15 lines
359 B
Python
15 lines
359 B
Python
|
import sys
|
||
|
import importlib
|
||
|
|
||
|
__version__, _, _ = sys.version.partition(' ')
|
||
|
|
||
|
|
||
|
try:
|
||
|
# Allow Debian and pkgsrc (only) to customize system
|
||
|
# behavior. Ref pypa/distutils#2 and pypa/distutils#16.
|
||
|
# This hook is deprecated and no other environments
|
||
|
# should use it.
|
||
|
importlib.import_module('_distutils_system_mod')
|
||
|
except ImportError:
|
||
|
pass
|