forked from WFP-Dubai/ETS
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
84 lines (76 loc) · 2.35 KB
/
setup.py
File metadata and controls
84 lines (76 loc) · 2.35 KB
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
### -*- coding: utf-8 -*- ####################################################
"""
Configuration file used by setuptools. It creates 'egg', install all dependencies.
$Id$
"""
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
#Dependencies - python eggs
install_requires = [
'setuptools',
'Django==1.3.3',
#'httplib2',
'south',
'django-rosetta',
'django-extensions', #'python-keyczar', 'pyasn1',
'django-debug-toolbar',
#'hashlib',
#'cx_Oracle==5.1',
'simplejson >= 2.1.0',
'django-piston',
'docutils',
'django-autoslug',
'django-uni-form >= 0.7.0', #div-based forms
'django-logicaldelete',
'django-native-tags==0.5.0',
'django_compressor',
'PIL',
'pyqrcode',
'pygments',
'google_analytics',
'django-pagination',
'reportlab',
'html5lib',
'pypdf',
'pisa',
'sorl-thumbnail', # thumbnail creation tool
#'pygraphviz',
'django-ajax-selects', # jQuery-powered auto-complete fields for ForeignKey and ManyToMany fields
'django-clear-cache',
'django-audit-log',
'pylzma',
'xlwt',
]
#Extra dependencies for test purposes
extras_require = dict(
test=[
'coverage', #checks code coverage by tests
]
)
#AFAIK:
install_requires.extend(extras_require['test'])
#List of paths, where parser may find packages
dependency_links = [
'http://dist.plone.org/thirdparty/',
#'http://pypi.pinaxproject.com/',
'http://dist.repoze.org',
#'http://downloads.sourceforge.net/project/cx-oracle/5.1/cx_Oracle-5.1.tar.gz?r=http%3A%2F%2Fcx-oracle.sourceforge.net%2F&ts=1310462337&use_mirror=space',
]
#Execute function to handle setuptools functionality
setup(name="WFP-ETS",
version="0.1",
description="ETS",
author="WFP",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require=extras_require,
entry_points="""
# -*- Entry points: -*-
""",
dependency_links=dependency_links,
)