summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJim Fulton <jim@zope.com>2007-02-20 17:00:42 +0000
committerJim Fulton <jim@zope.com>2007-02-20 17:00:42 +0000
commit40e44f21ce7a788536e9b9f572a4f499e2eeee56 (patch)
tree16449a235020533380bc374c0ba2ceb677e6d1fb /setup.py
parentc5dbcdb3b05f5c64948d010dc7caa69e29c4acf0 (diff)
downloadzope-component-40e44f21ce7a788536e9b9f572a4f499e2eeee56.tar.gz
Rearranged dependencies using extras.
Updated release info.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py37
1 files changed, 25 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 48e8fd2..a6e2daf 100644
--- a/setup.py
+++ b/setup.py
@@ -17,12 +17,17 @@ $Id$
"""
import os
-
from setuptools import setup, find_packages
-setup(name='zope.component',
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+
+name = 'zope.component'
+setup(name=name,
version='3.4dev',
- url='http://svn.zope.org/zope.component',
+ url='http://www.python.org/pypi/'+name,
license='ZPL 2.1',
description='Core of the Zope Component Architecture',
author='Zope Corporation and Contributors',
@@ -32,24 +37,32 @@ setup(name='zope.component',
"and looking up components. There are two basic"
"kinds of components: adapters and utilities.",
- packages = find_packages('src'),
+ packages = find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['zope',],
tests_require = ['zope.testing'],
install_requires=['zope.deprecation',
- 'zope.exceptions',
'zope.interface',
'zope.deferredimport',
- 'zope.hookable',
'zope.event',
- 'zope.configuration',
- 'zope.security',
- 'zope.proxy',
- 'zope.i18nmessageid',
- 'zope.testing',
+ 'setuptools',
],
include_package_data = True,
-
zip_safe = False,
+ extras_require = dict(
+ service = ['zope.exceptions'],
+ zcml = ['zope.configuration', 'zope.security', 'zope.proxy',
+ 'zope.i18nmessageid',
+ #'zope.location', # should be depenency of zope.security
+ ],
+ test = ['zope.testing',
+ 'ZODB3',
+ #'zope.configuration', 'zope.security', 'zope.proxy',
+ #'zope.i18nmessageid',
+ #'zope.location', # should be depenency of zope.security
+ ],
+ hook = ['zope.hookable'],
+ persistentregistry = ['ZODB3'],
+ ),
)