tahoe-lafs/calcdeps.py
Zooko O'Whielacronx 3e22dbb3bc setup: remove the hack to determine if we can avoid the explicit setuptools-managed dependency on nevow (which was useful for building on dapper)
For simplicity, and to avoid weird failure modes that result from importing nevow during the build process, we now simply require nevow >= 0.6.0.  We currently bundle in misc/dependencies nevow v0.9.18, which will not work on Dapper, since it requires Twisted >= 2.4.0, and Dapper comes with Twisted 2.2.0.  Dapper users can (a) install a newer Twisted, (b) install nevow 0.6.0 in egg form so that setuptools can tell that it is installed (without importing it), (c) beg us to start shipping nevow 0.6.0 instead of nevow 0.9.18 in our bundle.
2008-01-10 13:58:00 -07:00

28 lines
907 B
Python

import os
miscdeps=os.path.join('misc', 'dependencies')
dependency_links=[os.path.join(miscdeps, t) for t in os.listdir(miscdeps) if t.endswith(".tar")]
# By adding a web page to the dependency_links we are able to put new packages
# up there and have them be automatically discovered by existing copies of the
# tahoe source when that source was built.
dependency_links.append("http://allmydata.org/trac/tahoe/wiki/Dependencies")
install_requires=["zfec >= 1.3.0",
"foolscap >= 0.2.3",
"simplejson >= 1.7.3",
"pycryptopp >= 0.2.9",
"nevow >= 0.6.0",
"zope.interface >= 3.1.0",
]
if __name__ == '__main__':
print "install_requires:"
for ir in install_requires:
print " ", ir
print
print "dependency_links:"
for dl in dependency_links:
print " ", dl
print