-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
58 lines (50 loc) · 1.81 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
import os
import sys
from setuptools import setup, find_packages
version = '0.6.3dev'
install_requires = ['setuptools',
'pyramid >= 1.4',
'pyramid_chameleon',
'player >= 0.6',
'pytz',
]
if sys.version_info[:2] == (2, 6):
install_requires.extend((
'ordereddict',
'unittest2'))
tests_require = install_requires + ['nose', 'mock']
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
setup(name='pform',
version=version,
description=('Form generation library for Pyramid framework'),
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Pyramid"],
author='Nikolay Kim',
author_email='fafhrd91@gmail.com',
url='https://github.com/fafhrd91/pform/',
license='BSD',
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,
message_extractors={'pform': [
('scripts/**', 'ignore', None),
('static/**', 'ignore', None),
('tests/**', 'ignore', None),
('*/tests/**', 'ignore', None),
('**.py', 'lingua_python', None),
]},
)