[Checkins] SVN: bozo.component/branches/dev/ initial project setup
Jim Fulton
jim at zope.com
Wed May 27 06:58:28 EDT 2009
Log message for revision 100448:
initial project setup
Changed:
U bozo.component/branches/dev/README.txt
U bozo.component/branches/dev/setup.py
A bozo.component/branches/dev/src/bozo/
D bozo.component/branches/dev/src/zc/
-=-
Modified: bozo.component/branches/dev/README.txt
===================================================================
--- bozo.component/branches/dev/README.txt 2009-05-27 10:57:38 UTC (rev 100447)
+++ bozo.component/branches/dev/README.txt 2009-05-27 10:58:27 UTC (rev 100448)
@@ -1,7 +1,12 @@
-***********************
-Title Here
-***********************
+zope.component-based resource dispatch for bobo applications.
+*************************************************************
+The ``bozo.component`` package provides for looking up `bobo
+<http://bobo.digicool.com>`_ resources for objects based on their
+type.
+
+To learn more, see
+
Changes
*******
Modified: bozo.component/branches/dev/setup.py
===================================================================
--- bozo.component/branches/dev/setup.py 2009-05-27 10:57:38 UTC (rev 100447)
+++ bozo.component/branches/dev/setup.py 2009-05-27 10:58:27 UTC (rev 100448)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) Zope Corporation and Contributors.
+# Copyright (c) Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -11,40 +11,32 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+name, version = 'bozo.component', '0'
-name, version = '', '0'
+install_requires = ['setuptools', 'zope.compoent', 'bobo']
+extras_require = dict(test=['zope.testing'])
-import os
-from setuptools import setup, find_packages
-
entry_points = """
"""
-def read(rname):
- return open(os.path.join(os.path.dirname(__file__), *rname.split('/')
- )).read()
+from setuptools import setup
-long_description = (
- read('src/%s/README.txt' % '/'.join(name.split('.')))
- + '\n' +
- 'Download\n'
- '--------\n'
- )
-
setup(
- name = name,
- version = version,
author = 'Jim Fulton',
author_email = 'jim at zope.com',
- description = '',
- long_description=long_description,
license = 'ZPL 2.1',
-
- packages = find_packages('src'),
- namespace_packages = ['zc'],
+
+ name = name, version = version,
+ long_description=open('README.txt').read(),
+ description = open('README.txt').read().strip().split('\n')[0],
+ packages = [name.split('.')[0], name],
+ namespace_packages = [name.split('.')[0]],
package_dir = {'': 'src'},
- install_requires = ['setuptools'],
+ install_requires = install_requires,
zip_safe = False,
entry_points=entry_points,
- include_package_data = True,
+ package_data = {name: ['*.txt', '*.test', '*.html']},
+ extras_require = extras_require,
+ tests_require = extras_require['test'],
+ test_suite = name+'.tests.test_suite',
)
More information about the Checkins
mailing list