From: Brian Warner Date: Sat, 15 Sep 2007 21:04:57 +0000 (-0700) Subject: build-deps-setup.py: provide dependency_links too X-Git-Tag: allmydata-tahoe-0.6.0~105 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/URI:LIT:krugkidfnzsc4/%3C?a=commitdiff_plain;h=5cedf89a674f1f18d6dcf5fd6eede6f678f449f8;p=tahoe-lafs%2Ftahoe-lafs.git build-deps-setup.py: provide dependency_links too --- diff --git a/misc/dependencies/build-deps-setup.py b/misc/dependencies/build-deps-setup.py index dcab624a..b37cb7a9 100644 --- a/misc/dependencies/build-deps-setup.py +++ b/misc/dependencies/build-deps-setup.py @@ -1,7 +1,9 @@ #! /usr/bin/python +# N.B.: this expects to run from the top of the source tree + +import os, sys from ez_setup import use_setuptools -import sys if 'cygwin' in sys.platform.lower(): min_version='0.6c6' else: @@ -10,11 +12,18 @@ use_setuptools(min_version=min_version, download_base="file:misc/dependencies/") from setuptools import setup +dependency_tarballs=[ os.path.join("misc", "dependencies", fn) + for fn in os.listdir(os.path.join("misc", "dependencies")) + if fn.endswith(".tar.gz") ] +dependency_links=["http://allmydata.org/trac/tahoe/wiki/Dependencies"] + dependency_tarballs + setup(name='tahoe-deps', version="1", install_requires=["zfec >= 1.0.3", - "foolscap >= 0.1.6", "simplejson >= 1.4", + "foolscap >= 0.1.6", + "simplejson >= 1.4", #"nevow", # we need nevow, but it doesn't seem to be # installable by easy_install ], + dependency_links=dependency_links, )