buildPythonPackage: use a separate file to fire off setup.py

This commit is contained in:
Domen Kožar
2015-11-18 11:44:37 +01:00
parent 960274fc7c
commit f3092d6446
3 changed files with 22 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
import setuptools
import tokenize
__file__='setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))