forked from ptahproject/ptah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
91 lines (84 loc) · 3.28 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
87
88
89
90
91
import os
import sys
from setuptools import setup, find_packages
version = '0.9.dev0'
install_requires = ['setuptools',
'alembic >= 0.4.0, < 0.7.0',
'Chameleon >= 2.6.1',
'pyramid_chameleon',
'pyramid >= 1.5',
'pyramid_sqlalchemy',
'pyramid_tm',
'zope.interface >= 4.0.1',
'zope.sqlalchemy >= 0.7.1',
'transaction >= 1.3.0',
'venusian >= 1.0a6',
'WebOb >= 1.2',
'SQLAlchemy >= 0.7.2',
'pytz',
'babel',
'djed.form',
'djed.formatter',
'djed.layout',
'djed.mail',
'djed.message',
'djed.renderer',
'djed.static',
]
tests_require = install_requires + ['nose', 'sphinx', 'Pygments',
'webtest']
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
setup(name='ptah',
version=version,
description=('Ptah is a fast, fun, open source high-level '
'Python web development environment.'),
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
'Topic :: Internet :: WWW/HTTP :: WSGI'],
author='Ptah Project',
author_email='[email protected]',
url='https://github.com/ptahproject/ptah/',
license='BSD-derived',
packages=find_packages(),
install_requires=install_requires,
extras_require = dict(test=tests_require),
tests_require=tests_require,
test_suite='nose.collector',
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'ptah-manage = ptah.scripts.manage:main',
'ptah-migrate = ptah.scripts.migrate:main',
'ptah-populate = ptah.scripts.populate:main',
'ptah-settings = ptah.scripts.settings:main',
'ptah-layers = ptah.renderer.script:main',
],
'pyramid.scaffold': [
'ptah_starter = ptah.scaffolds:PtahStarterProjectTemplate',
],
},
message_extractors={'ptah': [
('scaffolds/**', 'ignore', None),
('scripts/**', 'ignore', None),
('static/**', 'ignore', None),
('tests/**', 'ignore', None),
('*/tests/**', 'ignore', None),
('templates/intr/**', 'ignore', None),
('templates/manage/**', 'ignore', None),
('templates/ptah/**', 'ignore', None),
('**.py', 'lingua_python', None),
('**.pt', 'lingua_xml', None),
# ('**.mustache', 'mustache', None),
# ('**.hb', 'mustache', None),
]},
)