Commit fd0535cb authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

Support install --single-version-externally-managed argument in purepymake

parent b3ba4f5c6b2a
......@@ -85,6 +85,9 @@ path_lib_python = os.path.join(sys.prefix, 'lib', 'python' + short_version)
path_tmp = 'build/temp.' + '-'.join(
[platform.system().lower(), platform.machine(), short_version])
path_lib = 'build/lib.' + '-'.join(
[platform.system().lower(), platform.machine(), short_version])
def can_import(pkg):
......@@ -337,6 +340,9 @@ def make_extensions(extensions,
if '--inplace' in sys.argv or 'develop' in sys.argv:
path_base_output = '.'
elif ('install' in sys.argv and
'--single-version-externally-managed' in sys.argv):
path_base_output = path_lib
path_base_output = path_tmp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment