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