-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
59 lines (54 loc) · 1.51 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
from setuptools import setup, find_packages
import os
version = '0.2.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
PIL_DEPENDENCY = []
try:
import PIL
except:
try:
import Image
except ImportError:
PIL_DEPENDENCY = ['pillow']
testpkgs = [
'sqlalchemy',
'ming',
'nose',
]
setup(name='tgext.datahelpers',
version=version,
description="Helpers to manage data and attachments on TurboGears",
long_description=README,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: TurboGears"
],
keywords='turbogears2.extension',
author='Alessandro Molina',
author_email='[email protected]',
url='https://github.com/axant/tgext.datahelpers',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['tgext'],
include_package_data=True,
package_data = {'':['*.html', '*.js', '*.css', '*.png', '*.gif']},
zip_safe=False,
install_requires=[
"TurboGears2 >= 2.1",
"formencode",
"beaker",
"future",
] + PIL_DEPENDENCY,
extras_require={
'testing': testpkgs,
},
entry_points="""
# -*- Entry points: -*-
""",
)