| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ def make_release_tree (self, base_dir, files): | |||
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | 42 | def _stamp_version(filename): | |
| 43 | - found, out = False, [] | ||
| 43 | + found, out = False, list() | ||
| 44 | 44 | try: | |
| 45 | 45 | f = open(filename, 'r') | |
| 46 | 46 | except (IOError, OSError): | |
@@ -61,18 +61,17 @@ def _stamp_version(filename): | |||
| 61 | 61 | else: | |
| 62 | 62 | print >> sys.stderr, "WARNING: Couldn't find version line in file %s" % filename | |
| 63 | 63 | ||
| 64 | - | ||
| 65 | 64 | setup(name = "GitPython", | |
| 66 | 65 | cmdclass={'build_py': build_py, 'sdist': sdist}, | |
| 67 | 66 | version = VERSION, | |
| 68 | 67 | description = "Python Git Library", | |
| 69 | 68 | author = "Sebastian Thiel, Michael Trier", | |
| 70 | 69 | author_email = "byronimo@gmail.com, mtrier@gmail.com", | |
| 71 | 70 | 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')], | ||
| 74 | 73 | package_data = {'git.test' : ['fixtures/*']}, | |
| 75 | - package_dir = {'git':''}, | ||
| 74 | + package_dir = {'git':'git'}, | ||
| 76 | 75 | license = "BSD License", | |
| 77 | 76 | requires=('gitdb (>=0.5.1)',), | |
| 78 | 77 | install_requires='gitdb >= 0.5.1', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments