mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
Provides environment marker (PEP-0426) to install colorama on win32 environment for installation from wheel.
This commit is contained in:
1 parent
50c4bacbab
commit
8d514be7a8
1 file changed
+8
@@ -53,7 +53,14 @@ requires = [
|
||||
'snowballstemmer>=1.1',
|
||||
'babel',
|
||||
]
|
||||
extras_require = {
|
||||
# Environment Marker works for wheel 0.24 or later
|
||||
':sys_platform=="win32"': [
|
||||
'colorama',
|
||||
],
|
||||
}
|
||||
|
||||
# for sdist installation with pip-1.5.6
|
||||
if sys.platform == 'win32':
|
||||
requires.append('colorama')
|
||||
|
||||
@@ -197,5 +204,6 @@ setup(
|
||||
],
|
||||
},
|
||||
install_requires=requires,
|
||||
extras_require=extras_require,
|
||||
cmdclass=cmdclass,
|
||||
)
|
||||
Reference in new issue
Block a user