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

Commitbdf1e68

Browse files
committed
Merge remote-tracking branch 'origin/master' into appveyor
2 parentsb8b025f +4592785 commitbdf1e68

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ return to a proper state, which means
136136
* no open pull requests
137137
* no open issues describing bugs
138138

139-
[contributing]:https://github.com/gitpython-developers/GitPython/blob/master/README.md
139+
[contributing]:https://github.com/gitpython-developers/GitPython/blob/master/CONTRIBUTING.md

‎setup.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
fromdistutils.command.build_pyimportbuild_pyas_build_py
1111
fromsetuptools.command.sdistimportsdistas_sdist
12+
importpkg_resources
13+
importlogging
1214
importos
1315
importsys
1416
fromosimportpath
@@ -68,10 +70,26 @@ def _stamp_version(filename):
6870
print("WARNING: Couldn't find version line in file %s"%filename,file=sys.stderr)
6971

7072
install_requires= ['gitdb >= 0.6.4']
71-
test_requires= ['node','ddt']
73+
extras_require= {
74+
':python_version == "2.6"': ['ordereddict'],
75+
}
76+
test_requires= ['ddt']
7277
ifsys.version_info[:2]< (2,7):
73-
install_requires.append('ordereddict')
7478
test_requires.append('mock')
79+
80+
try:
81+
if'bdist_wheel'notinsys.argv:
82+
forkey,valueinextras_require.items():
83+
ifkey.startswith(':')andpkg_resources.evaluate_marker(key[1:]):
84+
install_requires.extend(value)
85+
exceptException:
86+
logging.getLogger(__name__).exception(
87+
'Something went wrong calculating platform specific dependencies, so '
88+
"you're getting them all!"
89+
)
90+
forkey,valueinextras_require.items():
91+
ifkey.startswith(':'):
92+
install_requires.extend(value)
7593
# end
7694

7795
setup(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp