[pypy-commit] pypy install-rpython: Distutils doesn't know how to handle /usr/bin/env pypy for shebang rewrites.
Julian Berman
noreply at buildbot.pypy.org
Sun Apr 12 16:33:01 CEST 2015
Author: Julian Berman <Julian+Hg at GrayVines.com>
Branch: install-rpython
Changeset: r76779:34848732c2b4
Date: 2015-04-12 10:27 -0400
http://bitbucket.org/pypy/pypy/changeset/34848732c2b4/
Log: Distutils doesn't know how to handle /usr/bin/env pypy for shebang
rewrites.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -43,8 +43,9 @@
packages=find_packages(), # MANIFEST.in filters out all the pypy stuff
package_data={'rpython': ['translator/c/src/*.c', 'translator/c/src/*.h']},
install_requires=['pytest'],
- scripts=[
- os.path.join("rpython", "bin", script)
- for script in os.listdir("rpython/bin")
- ],
+ entry_points={
+ "console_scripts" : [
+ "rpython = rpython.translator.goal.translate:main",
+ ],
+ },
)
More information about the pypy-commit
mailing list