mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-07-06 00:50:57 +02:00
9 lines
278 B
Python
9 lines
278 B
Python
|
# Shim to wrap setup.py invocation with setuptools
|
||
|
SETUPTOOLS_SHIM = (
|
||
|
"import setuptools, tokenize;__file__=%r;"
|
||
|
"f=getattr(tokenize, 'open', open)(__file__);"
|
||
|
"code=f.read().replace('\\r\\n', '\\n');"
|
||
|
"f.close();"
|
||
|
"exec(compile(code, __file__, 'exec'))"
|
||
|
)
|