Ticket #51094: mk_util.py.diff
File mk_util.py.diff, 739 bytes (added by AlshammariA, 8 years ago) |
---|
-
scripts/mk_util.py
old new 629 629 SLOW_OPTIMIZE = True 630 630 elif not IS_WINDOWS and opt in ('-p', '--prefix'): 631 631 PREFIX = arg 632 PYTHON_PACKAGE_DIR = os.path.join(PREFIX, 'lib', 'python%s' % distutils.sysconfig.get_python_version(), 'dist-packages') 632 # PYTHON_PACKAGE_DIR = os.path.join(PREFIX, 'lib', 'python%s' % distutils.sysconfig.get_python_version(), 'dist-packages') 633 PYTHON_PACKAGE_DIR = "@PYTHON_PACKAGE_DIR@" 633 634 mk_dir(PYTHON_PACKAGE_DIR) 634 635 if sys.version >= "3": 635 636 mk_dir(os.path.join(PYTHON_PACKAGE_DIR, '__pycache__'))