branch | ZTK-1.1 |
changeset 149 | 738abc5935c9 |
parent 146 | d3083b645607 |
child 156 | 576f6b3c913a |
148:d3668ecd9137 | 149:738abc5935c9 |
---|---|
18 """ |
18 """ |
19 import os |
19 import os |
20 from setuptools import setup, find_packages |
20 from setuptools import setup, find_packages |
21 |
21 |
22 DOCS = os.path.join(os.path.dirname(__file__), |
22 DOCS = os.path.join(os.path.dirname(__file__), |
23 'ztfy', 'utils', 'docs') |
23 'docs') |
24 |
24 |
25 README = os.path.join(DOCS, 'README.txt') |
25 README = os.path.join(DOCS, 'README.txt') |
26 HISTORY = os.path.join(DOCS, 'HISTORY.txt') |
26 HISTORY = os.path.join(DOCS, 'HISTORY.txt') |
27 |
27 |
28 version = '0.3.11' |
28 version = '0.3.12' |
29 long_description = open(README).read() + '\n\n' + open(HISTORY).read() |
29 long_description = open(README).read() + '\n\n' + open(HISTORY).read() |
30 |
30 |
31 tests_require = [ |
31 tests_require = [ |
32 'zope.testing', |
32 'zope.testing', |
33 ] |
33 ] |
46 keywords='ZTFY utilities for Zope3', |
46 keywords='ZTFY utilities for Zope3', |
47 author='Thierry Florac', |
47 author='Thierry Florac', |
48 author_email='tflorac@ulthar.net', |
48 author_email='tflorac@ulthar.net', |
49 url='http://www.ztfy.org', |
49 url='http://www.ztfy.org', |
50 license='ZPL', |
50 license='ZPL', |
51 packages=find_packages(exclude=['ez_setup']), |
51 packages=find_packages('src'), |
52 package_dir={'': 'src'}, |
|
52 namespace_packages=['ztfy'], |
53 namespace_packages=['ztfy'], |
53 include_package_data=True, |
54 include_package_data=True, |
54 package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']}, |
55 package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']}, |
55 zip_safe=False, |
56 zip_safe=False, |
56 # uncomment this to be able to run tests with setup.py |
57 # uncomment this to be able to run tests with setup.py |