install via pip install for best perf.

This commit is contained in:
Bob Hyman 2020-08-09 23:05:21 -04:00
parent d3cd2e4fff
commit 2f439fef21

View file

@ -370,7 +370,8 @@ def main():
scripts=scripts,
)
# We used to avoid setuptools 'console_scripts' due to startup performance
# concerns which have since been resolved. So now we use them.
# concerns which have since been resolved, so long as install is done
# via `pip install .` and not `python setup.py install`.
skw["entry_points"] = {
"pygments.lexers": [
"xonsh = xonsh.pyghooks:XonshLexer",