summaryrefslogtreecommitdiff
path: root/guix/build-system/python.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-09-29 18:41:35 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2016-11-15 17:37:43 +0100
commit46bcdcc287ecfc1db8b7a0429e72517f407b580d (patch)
tree6a63f6d94ecdaee787ef52382cdb1c62d9c72c99 /guix/build-system/python.scm
parent7db40bce58e149ecb541d295e01cfbfe953d39a3 (diff)
downloadguix-patches-46bcdcc287ecfc1db8b7a0429e72517f407b580d.tar
guix-patches-46bcdcc287ecfc1db8b7a0429e72517f407b580d.tar.gz
guix: python-build-system: Import setuptools before calling `setup.py'.
This is needed for packages using "distutils" instead of "setuptools" since the former does not understand the "--single-version-externally-managed" flag. Also export __file__ since it will be unset when setup.py is called from python "exec". * guix/build/python-build-system.scm (call-setuppy): extend "python setup.py" call to import setuptools, export __file__, and call setup.py from setuptools python environment. Co-Authored-By: Hartmut Goebel <h.goebel@crazy-compilers.com>
Diffstat (limited to 'guix/build-system/python.scm')
0 files changed, 0 insertions, 0 deletions