Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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]>
  • Loading branch information
priv-kweihmann committed Jul 10, 2020
commit 81597581a8eaccbf0b26981745d398348c9d92ea
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def _stamp_version(filename):
author="Sebastian Thiel, Michael Trier",
author_email="[email protected], [email protected]",
url="https://github.com/gitpython-developers/GitPython",
packages=find_packages('.'),
packages=find_packages(exclude=("test.*")),
include_package_data=True,
py_modules=['git.' + f[:-3] for f in os.listdir('./git') if f.endswith('.py')],
package_data={'git.test': ['fixtures/*']},
package_dir={'git': 'git'},
python_requires='>=3.4',
install_requires=requirements,
Expand Down