mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
6 lines
240 B
Python
6 lines
240 B
Python
# Shim to wrap setup.py invocation with setuptools
|
|
SETUPTOOLS_SHIM = (
|
|
"import setuptools, tokenize;__file__=%r;"
|
|
"exec(compile(getattr(tokenize, 'open', open)(__file__).read()"
|
|
".replace('\\r\\n', '\\n'), __file__, 'exec'))"
|
|
)
|