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('collective', 'transmogrifier', 'transmogrifier.txt'), '', |
---|
14 | read('collective', 'transmogrifier', 'genericsetup.txt'), '', |
---|
15 | |
---|
16 | 'Default section blueprints', |
---|
17 | '**************************', |
---|
18 | read('collective', 'transmogrifier', 'sections', 'constructor.txt'), '', |
---|
19 | read('collective', 'transmogrifier', 'sections', 'codec.txt'), '', |
---|
20 | read('collective', 'transmogrifier', 'sections', 'inserter.txt'), '', |
---|
21 | read('collective', 'transmogrifier', 'sections', 'condition.txt'), '', |
---|
22 | read('collective', 'transmogrifier', 'sections', 'manipulator.txt'), '', |
---|
23 | read('collective', 'transmogrifier', 'sections', 'splitter.txt'), '', |
---|
24 | read('collective', 'transmogrifier', 'sections', 'savepoint.txt'), '', |
---|
25 | read('collective', 'transmogrifier', 'sections', 'csvsource.txt'), '', |
---|
26 | |
---|
27 | read('docs', 'HISTORY.txt'), '', |
---|
28 | |
---|
29 | 'Download', |
---|
30 | '********', '' |
---|
31 | ))) |
---|
32 | |
---|
33 | open('doc.txt', 'w').write(long_description) |
---|
34 | |
---|
35 | name='collective.transmogrifier' |
---|
36 | setup(name=name, |
---|
37 | version=version, |
---|
38 | description='A configurable pipeline, aimed at transforming content for ' |
---|
39 | 'import and export', |
---|
40 | long_description=long_description, |
---|
41 | # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
---|
42 | classifiers=[ |
---|
43 | "Framework :: Zope2", |
---|
44 | "Framework :: Zope3", |
---|
45 | "License :: OSI Approved :: GNU General Public License (GPL)", |
---|
46 | "Programming Language :: Python", |
---|
47 | "Topic :: Software Development :: Libraries :: Application Frameworks", |
---|
48 | "Topic :: Software Development :: Libraries :: Python Modules", |
---|
49 | ], |
---|
50 | keywords='content import filtering', |
---|
51 | author='Jarn', |
---|
52 | author_email='info@jarn.com', |
---|
53 | url='http://pypi.python.org/pypi/collective.transmogrifier', |
---|
54 | license='GPL', |
---|
55 | packages=find_packages(exclude=['ez_setup']), |
---|
56 | namespace_packages=['collective'], |
---|
57 | include_package_data=True, |
---|
58 | zip_safe=False, |
---|
59 | install_requires=[ |
---|
60 | 'setuptools', |
---|
61 | # -*- Extra requirements: -*- |
---|
62 | ], |
---|
63 | entry_points=""" |
---|
64 | # -*- Entry points: -*- |
---|
65 | """, |
---|
66 | ) |
---|