|
1 # |
|
2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net> |
|
3 # All Rights Reserved. |
|
4 # |
|
5 # This software is subject to the provisions of the Zope Public License, |
|
6 # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. |
|
7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
|
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
|
10 # FOR A PARTICULAR PURPOSE. |
|
11 # |
|
12 |
|
13 """ |
|
14 This module contains pyams_thesaurus package |
|
15 """ |
|
16 import os |
|
17 from setuptools import setup, find_packages |
|
18 |
|
19 DOCS = os.path.join(os.path.dirname(__file__), |
|
20 'docs') |
|
21 |
|
22 README = os.path.join(DOCS, 'README.txt') |
|
23 HISTORY = os.path.join(DOCS, 'HISTORY.txt') |
|
24 |
|
25 version = '0.1.0' |
|
26 long_description = open(README).read() + '\n\n' + open(HISTORY).read() |
|
27 |
|
28 tests_require = [] |
|
29 |
|
30 setup(name='pyams_thesaurus', |
|
31 version=version, |
|
32 description="PyAMS thesaurus management package", |
|
33 long_description=long_description, |
|
34 classifiers=[ |
|
35 "License :: OSI Approved :: Zope Public License", |
|
36 "Development Status :: 4 - Beta", |
|
37 "Programming Language :: Python", |
|
38 "Framework :: Pyramid", |
|
39 "Topic :: Software Development :: Libraries :: Python Modules", |
|
40 ], |
|
41 keywords='Pyramid PyAMS thesaurus', |
|
42 author='Thierry Florac', |
|
43 author_email='tflorac@ulthar.net', |
|
44 url='http://hg.ztfy.org/pyams/pyams_thesaurus', |
|
45 license='ZPL', |
|
46 packages=find_packages('src'), |
|
47 package_dir={'': 'src'}, |
|
48 namespace_packages=[], |
|
49 include_package_data=True, |
|
50 package_data={'': ['*.zcml', '*.txt', '*.pt', '*.pot', '*.po', '*.mo', '*.png', '*.gif', '*.jpeg', '*.jpg', '*.css', '*.js']}, |
|
51 zip_safe=False, |
|
52 # uncomment this to be able to run tests with setup.py |
|
53 test_suite="pyams_thesaurus.tests.test_utilsdocs.test_suite", |
|
54 tests_require=tests_require, |
|
55 extras_require=dict(test=tests_require), |
|
56 install_requires=[ |
|
57 'setuptools', |
|
58 # -*- Extra requirements: -*- |
|
59 'chardet', |
|
60 'hypatia', |
|
61 'lxml', |
|
62 'pyams_catalog', |
|
63 'pyams_file', |
|
64 'pyams_form', |
|
65 'pyams_i18n', |
|
66 'pyams_security', |
|
67 'pyams_skin', |
|
68 'pyams_template', |
|
69 'pyams_utils', |
|
70 'pyams_viewlet', |
|
71 'pyramid', |
|
72 'pyramid_rpc', |
|
73 'zope.component', |
|
74 'zope.interface', |
|
75 'zope.intid', |
|
76 ], |
|
77 entry_points={ |
|
78 'fanstatic.libraries': [ |
|
79 'pyams_thesaurus = pyams_thesaurus.zmi:library' |
|
80 ] |
|
81 }) |