[pypy-commit] pypy install-rpython: Update version, package_data, install_requires, ...

rlamy pypy.commits at gmail.com
Thu Jul 27 12:54:20 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: install-rpython
Changeset: r91984:3c3eeb58a4fd
Date: 2017-07-27 17:53 +0100
http://bitbucket.org/pypy/pypy/changeset/3c3eeb58a4fd/

Log:	Update version, package_data, install_requires, ...

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,7 +1,2 @@
 include README-rpython.rst
 exclude README.rst
-recursive-include rpython/translator/c/src *.c *.h
-recursive-include rpython/rlib/src *.c *.h
-recursive-include rpython/rlib/rvmprof/src *.c *.h
-prune include
-prune lib-python
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -46,15 +46,15 @@
 
     packages=find_packages(exclude=PKG_EXCLUDES),
     package_data={
-        'rpython.translator.c': ['src/*.c', 'src/*.h'],
-        'rpython.rlib': ['src/*.c', 'src/*.h'],
-        'rpython.rlib.rvmprof': ['src/**/*.c', 'src/**/*.h'],
-        'rpython.rlib.rjitlog': ['src/*.c', 'src/*.h'],
-        'rpython.jit.backend.llsupport': ['src/*.c', 'src/*.h'],
+        'rpython': ['**/*.c', '**/*.h'],
+        'rpython.rlib.rvmprof': ['src/shared/**/*.*'],
     },
+    # https://github.com/pypa/setuptools/issues/1064
+    include_package_data=True,
+
     install_requires=['pytest<3'],
     entry_points={
-        "console_scripts" : [
+        "console_scripts": [
             "rpython = rpython.__main__:main",
         ],
     },


More information about the pypy-commit mailing list