|
1 from setuptools import setup, find_packages |
|
2 import os |
|
3 |
|
4 DOCS = os.path.join(os.path.dirname(__file__), |
|
5 'docs') |
|
6 |
|
7 README = os.path.join(DOCS, 'README.txt') |
|
8 HISTORY = os.path.join(DOCS, 'HISTORY.txt') |
|
9 CONTRIBS = os.path.join(DOCS, 'CONTRIBUTORS.txt') |
|
10 |
|
11 version = '0.1.0' |
|
12 long_description = open(README).read() + '\n\n' + \ |
|
13 open(CONTRIBS).read() + '\n\n' + \ |
|
14 open(HISTORY).read() |
|
15 |
|
16 tests_require = [ |
|
17 'zope.testing', |
|
18 ] |
|
19 |
|
20 setup(name='ztfy.myams', |
|
21 version=version, |
|
22 description="ZTFY new admin/application skin", |
|
23 long_description=long_description, |
|
24 # Get more strings from |
|
25 # http://pypi.python.org/pypi?%3Aaction=list_classifiers |
|
26 classifiers=[ |
|
27 "Programming Language :: Python", |
|
28 ], |
|
29 keywords='', |
|
30 author='Thierry Florac', |
|
31 author_email='tflorac@ulthar.net', |
|
32 url='http://hg.ztfy.org/ztfy.myams', |
|
33 license='zpl', |
|
34 packages=find_packages('src'), |
|
35 package_dir={'': 'src'}, |
|
36 namespace_packages=['ztfy'], |
|
37 include_package_data=True, |
|
38 package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']}, |
|
39 zip_safe=False, |
|
40 tests_require=tests_require, |
|
41 extras_require=dict(test=tests_require), |
|
42 install_requires=[ |
|
43 'setuptools', |
|
44 # -*- Extra requirements: -*- |
|
45 'fanstatic', |
|
46 'z3c.form', |
|
47 'z3c.formjs', |
|
48 'z3c.formui', |
|
49 'z3c.jsonrpc', |
|
50 'z3c.language.negotiator', |
|
51 'z3c.language.session', |
|
52 'z3c.language.switch', |
|
53 'z3c.layer.pagelet', |
|
54 'z3c.pagelet', |
|
55 'z3c.table', |
|
56 'zc.catalog', |
|
57 'zope.component', |
|
58 'zope.i18nmessageid', |
|
59 'zope.interface', |
|
60 'zope.viewlet', |
|
61 'ztfy.skin', |
|
62 ], |
|
63 entry_points={ |
|
64 'fanstatic.libraries': [ |
|
65 'ztfy.myams = ztfy.myams:library' |
|
66 ] |
|
67 }) |