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( |
---|
37 | name=name, |
---|
38 | version=version, |
---|
39 | description='A configurable pipeline, aimed at transforming content for ' |
---|
40 | 'import and export', |
---|
41 | long_description=long_description, |
---|
42 | # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
---|
43 | classifiers=[ |
---|
44 | ], |
---|
45 | keywords='content import filtering', |
---|
46 | author='Jarn', |
---|
47 | author_email='info@jarn.com', |
---|
48 | url='http://pypi.python.org/pypi/collective.transmogrifier', |
---|
49 | license='GPL', |
---|
50 | packages=find_packages(exclude=['ez_setup']), |
---|
51 | namespace_packages=['collective'], |
---|
52 | include_package_data=True, |
---|
53 | zip_safe=False, |
---|
54 | install_requires=[ |
---|
55 | 'setuptools', |
---|
56 | # -*- Extra requirements: -*- |
---|
57 | ], |
---|
58 | entry_points=""" |
---|
59 | # -*- Entry points: -*- |
---|
60 | """, |
---|
61 | ) |
---|