|
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_alchemy 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_alchemy', |
|
31 version=version, |
|
32 description="PyAMS interfaces and classes for SQLAlchemy integration", |
|
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 SQLALchemy', |
|
42 author='Thierry Florac', |
|
43 author_email='tflorac@ulthar.net', |
|
44 url='http://hg.ztfy.org/pyams/pyams_alchemy', |
|
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_alchemy.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 'pyramid', |
|
60 'sqlalchemy', |
|
61 'zope.component', |
|
62 'zope.interface', |
|
63 ], |
|
64 entry_points=""" |
|
65 # -*- Entry points: -*- |
|
66 """, |
|
67 ) |