Skip to content

Commit

Permalink
[Packaging] Fix deps for win32
Browse files Browse the repository at this point in the history
- Fixed trying to install py2-ipaddress breaking on Python3.
- Add wheel universal option so Py2 and Py3 wheel built.
  • Loading branch information
cas-- committed Nov 12, 2018
1 parent 10fcbec commit 3b8f716
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
Expand Up @@ -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
3 changes: 3 additions & 0 deletions setup.cfg
@@ -1,3 +1,6 @@
[bdist_wheel]
universal = 1

[build_docs]
source-dir = docs/source
build-dir = docs/build
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -547,9 +547,9 @@ def run(self):
'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']
Expand Down

0 comments on commit 3b8f716

Please sign in to comment.