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 <kweihmann@outlook.com>
1 parent 5453888 commit 7bde529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def _stamp_version(filename):
7474
author="Sebastian Thiel, Michael Trier",
7575
author_email="byronimo@gmail.com, mtrier@gmail.com",
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy