From 7ce55cabc53fe2c1378446ba0557e5f716c0cd31 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sat, 20 Mar 2004 20:52:12 +0000 Subject: Flesh out 'depends' command to display dependencies' status, and halt if all requirements aren't met. (Also, check planned install location for the dependencies, as well as checking sys.path.) Also: * Allow 'Feature()' objects to include 'Require()' objects, so that dependencies can be optional * 'Require()' objects can set a homepage, whose URL will be displayed by the 'depends' command if the dependency needs to be installed. * Misc. fixes/refactoring of version validation to properly handle "unknown" versions, and to decouple version fetching from version checking. * Updated TODO to remove various completed items. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876 --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1aadf759..7925a9df 100755 --- a/setup.py +++ b/setup.py @@ -3,6 +3,7 @@ """Distutils setup file, used to install or test 'setuptools'""" from setuptools import setup, find_packages, Require +from distutils.version import LooseVersion setup( name="setuptools", @@ -14,7 +15,12 @@ setup( license="PSF or ZPL", test_suite = 'setuptools.tests.test_suite', - requires = [Require('Distutils','1.0.3','distutils')], + requires = [ + Require('Distutils','1.0.3','distutils', + "http://www.python.org/sigs/distutils-sig/" + ), + Require('PyUnit', None, 'unittest', "http://pyunit.sf.net/"), + ], packages = find_packages(), py_modules = ['setuptools_boot'], ) -- cgit v1.2.1