From: Zooko O'Whielacronx Date: Thu, 20 Sep 2007 18:05:40 +0000 (-0700) Subject: setup: add pywin32 to our dependencies if sys.platform == "win32" X-Git-Tag: allmydata-tahoe-0.6.0~42 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/htmlfontify-example.html?a=commitdiff_plain;h=30e28bb3c5f2afce43cd9a349a5e68e4a7f01afb;p=tahoe-lafs%2Ftahoe-lafs.git setup: add pywin32 to our dependencies if sys.platform == "win32" --- diff --git a/calcdeps.py b/calcdeps.py index 5c582018..fb0a0e69 100644 --- a/calcdeps.py +++ b/calcdeps.py @@ -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