summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2004-03-20 20:52:12 +0000
committerPJ Eby <distutils-sig@python.org>2004-03-20 20:52:12 +0000
commit7ce55cabc53fe2c1378446ba0557e5f716c0cd31 (patch)
tree6ae85cd0c23933ddfa883e131aabd2fe398263be /setup.py
parent8423e1ed14ac1691c2863c6e8cac9230cf558d7b (diff)
downloadpython-setuptools-git-7ce55cabc53fe2c1378446ba0557e5f716c0cd31.tar.gz
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
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 7 insertions, 1 deletions
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'],
)