Skip to content

Commit 7bde529

Browse files
priv-kweihmannByron
authored andcommitted
setup.py: exclude all test files
by using exclude feature of find_packages. Plus remove now obselete package_data setting Signed-off-by: Konrad Weihmann <[email protected]>
1 parent 5453888 commit 7bde529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def _stamp_version(filename):
7474
author="Sebastian Thiel, Michael Trier",
7575
7676
url="https://github.com/gitpython-developers/GitPython",
77-
packages=find_packages('.'),
77+
packages=find_packages(exclude=("test.*")),
78+
include_package_data=True,
7879
py_modules=['git.' + f[:-3] for f in os.listdir('./git') if f.endswith('.py')],
79-
package_data={'git.test': ['fixtures/*']},
8080
package_dir={'git': 'git'},
8181
python_requires='>=3.4',
8282
install_requires=requirements,

0 commit comments

Comments
 (0)