1
0
forked from s434650/CatOrNot
CatOrNot/venv/lib/python3.6/site-packages/pip/utils/setuptools_build.py

9 lines
278 B
Python
Raw Normal View History

2018-12-11 00:32:28 +01:00
# 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'))"
)