|
4 | 4 | from distutils.command.build_ext import build_ext
|
5 | 5 |
|
6 | 6 | import os, sys
|
7 |
| -import gitdb as meta |
8 | 7 |
|
9 | 8 | # wow, this is a mixed bag ... I am pretty upset about all of this ...
|
10 | 9 | setuptools_build_py_module = None
|
@@ -68,15 +67,23 @@ def get_data_files(self):
|
68 | 67 | setuptools_build_py_module.build_py._get_data_files = get_data_files
|
69 | 68 | # END apply setuptools patch too
|
70 | 69 |
|
| 70 | +# NOTE: This is currently duplicated from the gitdb.__init__ module, as we cannot |
| 71 | +# satisfy the dependencies at installation time, unfortunately, due to inherent limitations |
| 72 | +# of distutils, which cannot install the prerequesites of a package before the acutal package. |
| 73 | +__author__ = "Sebastian Thiel" |
| 74 | + |
| 75 | +__homepage__ = "https://github.com/gitpython-developers/gitdb" |
| 76 | +version_info = (0, 5, 3) |
| 77 | +__version__ = '.'.join(str(i) for i in version_info) |
| 78 | + |
71 | 79 | setup(cmdclass={'build_ext':build_ext_nofail},
|
72 | 80 | name = "gitdb",
|
73 |
| - version = meta.__version__, |
| 81 | + version = __version__, |
74 | 82 | description = "Git Object Database",
|
75 |
| - author = meta.__author__, |
76 |
| - author_email = meta.__contact__, |
77 |
| - url = meta.__homepage__, |
78 |
| - packages = ('gitdb', 'gitdb.db', 'gitdb.test', 'gitdb.test.db', 'gitdb.test.performance'), |
79 |
| - package_data={ 'gitdb.test' : ['fixtures/packs/*', 'fixtures/objects/7b/*']}, |
| 83 | + author = __author__, |
| 84 | + author_email = __contact__, |
| 85 | + url = __homepage__, |
| 86 | + packages = ('gitdb', 'gitdb.db'), |
80 | 87 | package_dir = {'gitdb':'gitdb'},
|
81 | 88 | ext_modules=[Extension('gitdb._perf', ['gitdb/_fun.c', 'gitdb/_delta_apply.c'], include_dirs=['gitdb'])],
|
82 | 89 | license = "BSD License",
|
|
0 commit comments