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

Commitc0b45fa

Browse files
committed
Updated setup to include Windows requirements
1 parentab7a872 commitc0b45fa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
importlogging
1414
importos
1515
importsys
16+
importplatform
1617
fromosimportpath
1718

1819
withopen(path.join(path.dirname(__file__),'VERSION'))asv:
@@ -21,6 +22,10 @@
2122
withopen('requirements.txt')asreqs_file:
2223
requirements=reqs_file.read().splitlines()
2324

25+
ifplatform.system()=='Windows':
26+
withopen('win32-requirements.txt')asreqs_file:
27+
requirements+=reqs_file.read().splitlines()
28+
2429

2530
classbuild_py(_build_py):
2631

@@ -65,6 +70,8 @@ def _stamp_version(filename):
6570
print("WARNING: Couldn't find version line in file %s"%filename,file=sys.stderr)
6671

6772
install_requires= ['gitdb >= 0.6.4']
73+
ifplatform.system()=='Windows':
74+
install_requires.append("pypiwin32 >= 219")
6875
extras_require= {
6976
':python_version == "2.6"': ['ordereddict'],
7077
}

‎win32-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-r requirements.txt
2+
pypiwin32 >= 219

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp