Author: Stefano Rivera <[email protected]>
Branch:
Changeset: r2609:2eb9c68c1515
Date: 2016-01-17 10:42 -0800
http://bitbucket.org/cffi/cffi/changeset/2eb9c68c1515/
Log: Allow testing against installed package (which has egg_info already)
diff --git a/testing/cffi1/test_zdist.py b/testing/cffi1/test_zdist.py
--- a/testing/cffi1/test_zdist.py
+++ b/testing/cffi1/test_zdist.py
@@ -48,7 +48,8 @@
import setuptools
except ImportError:
py.test.skip("setuptools not found")
- self.run(['setup.py', 'egg_info'], cwd=self.rootdir)
+ if os.path.exists(os.path.join(self.rootdir, 'setup.py')):
+ self.run(['setup.py', 'egg_info'], cwd=self.rootdir)
TestDist._setuptools_ready = True
def check_produced_files(self, content, curdir=None):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit