-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
83 lines (75 loc) · 2.7 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
##############################################################################
#
# 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
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst'), 'rb').read()
CHANGES = open(os.path.join(here, 'CHANGES.txt'), 'rb').read()
long_description = b"\n\n".join((README, CHANGES))
long_description = long_description.decode('utf-8')
requires = [
'setuptools',
'Chameleon >= 2.7',
'zope.interface',
'pyramid >= 1.5',
]
docs_extras = [
'Sphinx',
'docutils',
'repoze.sphinx.autointerface']
testing_extras = [
'MacFSEvents;sys_platform=="darwin"',
'manuel',
'coverage',
'nose2',
'pyinotify;sys_platform=="linux"',
'pyramid_zcml >= 0.9.2',
'zope.testing>3.8.7',
'zope.component>3.9.2']
setup(name='pyramid_skins',
version = '3.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',
'Programming Language :: Python :: 3 :: Only',
'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'},
python_requires=">=3.7",
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",
)