-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
86 lines (76 loc) · 2.68 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
85
86
##############################################################################
#
# 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')
requires = [
'setuptools',
'Chameleon >= 2.7',
'zope.interface',
'pyramid >= 1.3',
]
docs_extras = [
'Sphinx',
'docutils',
'repoze.sphinx.autointerface']
testing_extras = [
'manuel',
'coverage',
'nose',
'pyramid_zcml >= 0.9.2',
'zope.testing>3.8.7',
'zope.component>3.9.2']
if sys.platform == "darwin":
testing_extras.append("MacFSEvents")
if sys.platform.startswith("linux"):
testing_extras.append("pyinotify")
setup(name='pyramid_skins',
version = '1.2',
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='pylons-discuss@googlegroups.org',
maintainer='Malthe Borch',
maintainer_email='mborch@gmail.com',
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=requires,
tests_require=testing_extras,
extras_require={
'testing': testing_extras,
'docs': docs_extras,
'development': testing_extras + docs_extras},
test_suite="pyramid_skins.tests",
)