[pypy-commit] pypy install-rpython: tmp

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


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: install-rpython
Changeset: r91983:cde84dc03420
Date: 2017-07-27 15:58 +0100
http://bitbucket.org/pypy/pypy/changeset/cde84dc03420/

Log:	tmp

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,10 +1,7 @@
 include README-rpython.rst
 exclude README.rst
 recursive-include rpython/translator/c/src *.c *.h
-prune _pytest
-prune ctypes_configure
+recursive-include rpython/rlib/src *.c *.h
+recursive-include rpython/rlib/rvmprof/src *.c *.h
 prune include
 prune lib-python
-prune lib_pypy
-prune py
-prune pypy
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -18,9 +18,13 @@
 RPython. Packaging issues are likely, feedback is welcome.
 """
 
+PKG_EXCLUDES = (
+    'lib_pypy', 'lib_pypy.*', 'pypy', 'pypy.*',
+    'py', 'py.*', '_pytest', '_pytest.*')
+
 setup(
     name='rpython',
-    version='0.1.4',
+    version='0.2.0',
     description='RPython',
     long_description=long_description,
 
@@ -40,9 +44,15 @@
     ],
     keywords='development',
 
-    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'],
+    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'],
+    },
+    install_requires=['pytest<3'],
     entry_points={
         "console_scripts" : [
             "rpython = rpython.__main__:main",


More information about the pypy-commit mailing list