@@ -40,7 +40,7 @@ def make_release_tree (self, base_dir, files):
4040
4141
4242def _stamp_version (filename ):
43- found , out = False , []
43+ found , out = False , list ()
4444 try :
4545 f = open (filename , 'r' )
4646 except (IOError , OSError ):
@@ -61,18 +61,17 @@ def _stamp_version(filename):
6161 else :
6262 print >> sys .stderr , "WARNING: Couldn't find version line in file %s" % filename
6363
64-
6564setup (name = "GitPython" ,
6665 cmdclass = {'build_py' : build_py , 'sdist' : sdist },
6766 version = VERSION ,
6867 description = "Python Git Library" ,
6968 author = "Sebastian Thiel, Michael Trier" ,
7069 author_email = "byronimo@gmail.com, mtrier@gmail.com" ,
7170 url = "http://gitorious.org/projects/git-python/" ,
72- packages = [ 'git.' + p for p in find_packages ('.' )] ,
73- py_modules = ['git.' + f [:- 3 ] for f in os .listdir ('.' ) if f .endswith ('.py' )],
71+ packages = find_packages ('.' ),
72+ py_modules = ['git.' + f [:- 3 ] for f in os .listdir ('./git ' ) if f .endswith ('.py' )],
7473 package_data = {'git.test' : ['fixtures/*' ]},
75- package_dir = {'git' :'' },
74+ package_dir = {'git' :'git ' },
7675 license = "BSD License" ,
7776 requires = ('gitdb (>=0.5.1)' ,),
7877 install_requires = 'gitdb >= 0.5.1' ,
0 commit comments