revert setuptools_scm addition introduced with f22d14b105

This commit is contained in:
holger krekel
2015-09-17 12:58:04 +02:00
parent f978b545c5
commit 7eb1211192
5 changed files with 5 additions and 13 deletions
+2
View File
@@ -0,0 +1,2 @@
#
__version__ = '2.8.0.dev5'
+1 -6
View File
@@ -31,12 +31,7 @@ def pkg_to_mapping(name):
else: # package
for pyfile in toplevel.visit('*.py'):
pkg = pkgname(name, toplevel, pyfile)
if pkg == '_pytest.__init__':
# remove the coding comment line to avoid python bug
lines = pyfile.read().splitlines(True)
name2src[pkg] = ''.join(lines[1:])
else:
name2src[pkg] = pyfile.read()
name2src[pkg] = pyfile.read()
# with wheels py source code might be not be installed
# and the resulting genscript is useless, just bail out.
assert name2src, "no source code found for %r at %r" %(name, toplevel)