You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
278 B
8 lines
278 B
# 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'))"
|
|
)
|
|
|