-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·96 lines (79 loc) · 2.44 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
92
93
94
95
96
from importlib import import_module
from setuptools import setup, find_packages
import pkg_resources
spicy_pkg = import_module('src.spicy')
version = import_module('src.spicy.version').__version__
long_description = """spicy core package"""
pkg_resources.declare_namespace('spicy')
def long_description():
"""Return long description from README.rst if it's present
because it doesn't get installed."""
try:
return open('README.rst').read()
except IOError:
return long_description
setup(
name='spicy',
version=version,
author='Burtsev Alexander',
author_email='[email protected]',
description='spicy',
license='BSD',
keywords='django, cms',
url='', # TODO: define an url
packages=find_packages('src'),
package_dir={'': 'src',},
include_package_data=True,
zip_safe=False,
long_description=long_description(),
install_requires=[
'Django==1.4.11',
'Fabric==1.6',
'Sphinx==1.2b1',
'numpydoc==0.4',
'raven==3.2.1',
'python-memcached==1.48',
'uwsgi',
# spicy.scripts.py: deploy
# 'configparser==3.3.0r2',
'configparser',
'Jinja2==2.6',
# ?? siteskin deps.
'pytils==0.2.3',
'pytz==2013b',
'html5lib==0.95',
'python-redmine==0.8.1',
#'django-simple-captcha', # spicy.core.profile
#'django-social-auth==0.6.1',# spicy.core.profile
# debug deps.
# 'logutils', #TODO: version?
'numpydoc',
'django-nose==1.2',
'django-debug-toolbar',
'django-devserver',
'django-extensions',
'django-autocomplete-light==2.0.0a15',
'xlrd',
'xlwt'
],
dependency_links=[
#'svn+http://django-simple-captcha.googlecode.com/svn/trunk@54#egg=django-captcha',
#'git+https://github.com/krvss/django-social-auth.git#egg=django-social-auth-0.7.13.dev',
],
entry_points={
'console_scripts': [
'spicy = spicy.script:handle_command_line',
],
},
classifiers=[
'Framework :: Django',
'Development Status :: 1.1',
'Topic :: Internet',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
]
)