Skip to content

Commit a5ed410

Browse files
committed
removed test suite from being distributed. It didn't work properly anyway and I am not going to dig into the setup tools mess
1 parent 4524faf commit a5ed410

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

setup.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from distutils.command.build_ext import build_ext
55

66
import os, sys
7-
import gitdb as meta
87

98
# wow, this is a mixed bag ... I am pretty upset about all of this ...
109
setuptools_build_py_module = None
@@ -68,15 +67,23 @@ def get_data_files(self):
6867
setuptools_build_py_module.build_py._get_data_files = get_data_files
6968
# END apply setuptools patch too
7069

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+
__contact__ = "[email protected]"
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+
7179
setup(cmdclass={'build_ext':build_ext_nofail},
7280
name = "gitdb",
73-
version = meta.__version__,
81+
version = __version__,
7482
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'),
8087
package_dir = {'gitdb':'gitdb'},
8188
ext_modules=[Extension('gitdb._perf', ['gitdb/_fun.c', 'gitdb/_delta_apply.c'], include_dirs=['gitdb'])],
8289
license = "BSD License",

0 commit comments

Comments
 (0)