Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bde529

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 settingSigned-off-by: Konrad Weihmann <kweihmann@outlook.com>
1 parent5453888 commit7bde529

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]forfinos.listdir('./git')iff.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)

[8]ページ先頭

©2009-2025 Movatter.jp