-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
47 lines (40 loc) · 1.22 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
from setuptools import setup, find_packages
import os
from sys import version_info
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.4"
TEST_DEPENDENCIES = ['pytest',
'WebTest']
if version_info[0] == 2:
TEST_DEPENDENCIES.append('mock')
setup(
name='tgext.utils',
version=version,
description="Collection of utilities for TurboGears2",
long_description=README,
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='turbogears2.extension',
author='Alessandro Molina',
author_email='[email protected]',
url='https://github.com/amol-/tgext.utils',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['tgext'],
include_package_data=True,
zip_safe=False,
install_requires=[
"TurboGears2 >= 2.3.7",
],
extras_require={
# Used by Travis and Coverage due to setup.py nosetests
# causing a coredump when used with coverage
'testing': TEST_DEPENDENCIES,
},
entry_points="""
# -*- Entry points: -*-
"""
)