forked from Pylons/pyramid_skins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
84 lines (74 loc) · 2.65 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
##############################################################################
#
# Copyright (c) 2008 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
long_description = "\n\n".join((README, CHANGES))
long_description = long_description.decode('utf-8')
install_requires =[
'setuptools',
'Chameleon >= 2.7',
'zope.interface',
'zope.component',
'zope.configuration',
'zope.testing',
'pyramid',
'pyramid_zcml',
]
tests_require = []
if sys.platform == "darwin":
tests_require.append("MacFSEvents")
if sys.platform.startswith("linux"):
tests_require.append("pyinotify")
tests_require = install_requires + [
'manuel',
'zope.testing>3.8.7',
'zope.component>3.9.2',
] + tests_require
setup(name='pyramid_skins',
version = '1.0',
description='Templating framework for Pyramid.',
long_description=long_description,
keywords = "pyramid templates",
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: BFG'],
license='BSD',
author='Malthe Borch and the Pylons Community',
author_email='[email protected]',
maintainer='Malthe Borch',
maintainer_email='[email protected]',
url='http://packages.python.org/pyramid_skins/',
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=[],
include_package_data = True,
zip_safe = False,
install_requires=install_requires,
tests_require = tests_require,
extras_require = {
'tests': [dep.split('==')[0] for dep in tests_require],
},
test_suite="pyramid_skins.tests",
)