mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-25 21:17:37 +00:00
setup: add pywin32 to our dependencies if sys.platform == "win32"
This commit is contained in:
parent
3774ce59ea
commit
30e28bb3c5
@ -1,5 +1,5 @@
|
||||
|
||||
import os.path
|
||||
import os.path, sys
|
||||
|
||||
# This form is used when the unpacked source distribution is copied into our
|
||||
# tree:
|
||||
@ -10,7 +10,7 @@ import os.path
|
||||
|
||||
dependency_tarballs=[ "file:" + os.path.join("misc", "dependencies", fn)
|
||||
for fn in os.listdir(os.path.join("misc", "dependencies"))
|
||||
if fn.endswith(".tar.gz") ]
|
||||
if fn.endswith(".tar.gz") or fn.endswith(".zip") ]
|
||||
|
||||
dependency_links=["http://allmydata.org/trac/tahoe/wiki/Dependencies"] + dependency_tarballs
|
||||
|
||||
@ -27,6 +27,10 @@ install_requires=["zfec >= 1.0.3",
|
||||
"zope.interface >= 3.0",
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
install_requires.append("pywin32")
|
||||
|
||||
|
||||
# Ubuntu Dapper includes nevow-0.6.0 and twisted-2.2.0, both of which work.
|
||||
# However, setuptools doesn't know about them, so our install_requires=
|
||||
# dependency upon nevow causes our 'build-deps' step to try and build the
|
||||
|
Loading…
x
Reference in New Issue
Block a user