[pypy-commit] pypy install-rpython: Install scripts along with rpython.
Julian Berman
noreply at buildbot.pypy.org
Sun Apr 12 15:51:52 CEST 2015
Author: Julian Berman <Julian+Hg at GrayVines.com>
Branch: install-rpython
Changeset: r76778:bf6fdc9602b4
Date: 2015-04-12 09:14 -0400
http://bitbucket.org/pypy/pypy/changeset/bf6fdc9602b4/
Log: Install scripts along with rpython.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -4,10 +4,10 @@
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
-from os import path
+import os
-here = path.abspath(path.dirname(__file__))
-with open(path.join(here, 'README-rpython.rst'), encoding='utf-8') as f:
+here = os.path.abspath(os.path.dirname(__file__))
+with open(os.path.join(here, 'README-rpython.rst'), encoding='utf-8') as f:
long_description = f.read()
long_description += """
@@ -20,7 +20,7 @@
setup(
name='rpython',
- version='0.1.2',
+ version='0.1.3',
description='RPython',
long_description=long_description,
@@ -43,4 +43,8 @@
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")
+ ],
)
More information about the pypy-commit
mailing list