[Packaging] Fix deps for win32
- Fixed trying to install py2-ipaddress breaking on Python3. - Add wheel universal option so Py2 and Py3 wheel built.
This commit is contained in:
parent
10fcbecc04
commit
3b8f71613b
|
@ -7,7 +7,7 @@ mako
|
|||
chardet
|
||||
six
|
||||
setproctitle
|
||||
pywin32; sys.platform == 'win32'
|
||||
py2-ipaddress; sys.platform == 'win32'
|
||||
certifi; sys.platform == 'win32'
|
||||
pywin32; sys_platform == 'win32'
|
||||
py2-ipaddress; sys_platform == 'win32' and python_version == '2'
|
||||
certifi; sys_platform == 'win32'
|
||||
zope.interface>=4.4.2
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[build_docs]
|
||||
source-dir = docs/source
|
||||
build-dir = docs/build
|
||||
|
|
6
setup.py
6
setup.py
|
@ -547,9 +547,9 @@ install_requires = [
|
|||
'chardet',
|
||||
'six',
|
||||
'setproctitle',
|
||||
"pywin32; sys.platform == 'win32'",
|
||||
"py2-ipaddress; sys.platform == 'win32'",
|
||||
"certifi; sys.platform == 'win32'",
|
||||
"pywin32; sys_platform == 'win32'",
|
||||
"py2-ipaddress; sys_platform == 'win32' and python_version == '2'",
|
||||
"certifi; sys_platform == 'win32'",
|
||||
'zope.interface',
|
||||
]
|
||||
tests_require = ['pytest', 'pytest-twisted']
|
||||
|
|
Loading…
Reference in New Issue