[pypy-svn] r71924 - in pypy/trunk/pypy/tool: . test

fijal at codespeak.net fijal at codespeak.net
Mon Mar 8 23:17:37 CET 2010


Author: fijal
Date: Mon Mar  8 23:17:35 2010
New Revision: 71924

Modified:
   pypy/trunk/pypy/tool/package.py
   pypy/trunk/pypy/tool/test/test_package.py
Log:
Don't include py subdirectory


Modified: pypy/trunk/pypy/tool/package.py
==============================================================================
--- pypy/trunk/pypy/tool/package.py	(original)
+++ pypy/trunk/pypy/tool/package.py	Mon Mar  8 23:17:35 2010
@@ -44,7 +44,7 @@
     pypydir.ensure('pypy', dir=True)
     shutil.copytree(str(basedir.join('pypy', 'lib')),
                     str(pypydir.join('pypy', 'lib')),
-                    ignore=ignore_patterns('.svn'))
+                    ignore=ignore_patterns('.svn', 'py'))
     pypydir.ensure('bin', dir=True)
     shutil.copy(str(pypy_c), str(pypydir.join('bin', 'pypy-c')))
     old_dir = os.getcwd()

Modified: pypy/trunk/pypy/tool/test/test_package.py
==============================================================================
--- pypy/trunk/pypy/tool/test/test_package.py	(original)
+++ pypy/trunk/pypy/tool/test/test_package.py	Mon Mar  8 23:17:35 2010
@@ -17,6 +17,8 @@
         assert builddir.join('test', 'lib-python', '2.5.2', 'test').check()
         assert builddir.join('test', 'bin', 'pypy-c').check()
         assert builddir.join('test', 'pypy', 'lib', 'syslog.py').check()
+        assert not builddir.join('test', 'pypy', 'lib', 'py').check()
+        assert not builddir.join('test', 'pypy', 'lib', 'ctypes_configure').check()
         th = tarfile.open(str(builddir.join('test.tar.bz2')))
         assert th.getmember('test/pypy/lib/syslog.py')
     finally:



More information about the Pypy-commit mailing list