1 | version = '0.1' |
---|
2 | |
---|
3 | import os |
---|
4 | from setuptools import setup, find_packages |
---|
5 | |
---|
6 | def read(*rnames): |
---|
7 | return open(os.path.join(os.path.dirname(__file__), *rnames)).read() |
---|
8 | |
---|
9 | long_description = ('\n'.join(( |
---|
10 | read('README.txt'), '' |
---|
11 | 'Detailed Documentation', |
---|
12 | '**********************', '', |
---|
13 | read('plone', 'app', 'transmogrifier', 'atschemaupdater.txt'), '', |
---|
14 | read('plone', 'app', 'transmogrifier', 'workflowupdater.txt'), '', |
---|
15 | read('plone', 'app', 'transmogrifier', 'browserdefault.txt'), '', |
---|
16 | read('plone', 'app', 'transmogrifier', 'criteria.txt'), '', |
---|
17 | read('plone', 'app', 'transmogrifier', 'portaltransforms.txt'), '', |
---|
18 | |
---|
19 | read('docs', 'HISTORY.txt'), '', |
---|
20 | |
---|
21 | 'Download', |
---|
22 | '********', '' |
---|
23 | ))) |
---|
24 | |
---|
25 | open('doc.txt', 'w').write(long_description) |
---|
26 | |
---|
27 | name='plone.app.transmogrifier' |
---|
28 | setup(name=name, |
---|
29 | version=version, |
---|
30 | description="Plone blueprints for collective.transmogrifier pipelines", |
---|
31 | long_description=long_description, |
---|
32 | # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
---|
33 | classifiers=[ |
---|
34 | "Framework :: Plone", |
---|
35 | "Framework :: Zope2", |
---|
36 | "Framework :: Zope3", |
---|
37 | "License :: OSI Approved :: GNU General Public License (GPL)", |
---|
38 | "Programming Language :: Python", |
---|
39 | "Topic :: Software Development :: Libraries :: Application Frameworks", |
---|
40 | "Topic :: Software Development :: Libraries :: Python Modules", |
---|
41 | ], |
---|
42 | keywords='content import filtering plone', |
---|
43 | author='Jarn', |
---|
44 | author_email='info@jarn.com', |
---|
45 | url='http://pypi.python.org/pypi/plone.app.transmogrifier', |
---|
46 | license='GPL', |
---|
47 | packages=find_packages(exclude=['ez_setup']), |
---|
48 | namespace_packages=['plone', 'plone.app'], |
---|
49 | include_package_data=True, |
---|
50 | zip_safe=False, |
---|
51 | install_requires=[ |
---|
52 | 'setuptools', |
---|
53 | 'collective.transmogrifier', |
---|
54 | # -*- Extra requirements: -*- |
---|
55 | ], |
---|
56 | entry_points=""" |
---|
57 | # -*- Entry points: -*- |
---|
58 | """, |
---|
59 | ) |
---|