This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
92 lines (87 loc) · 3 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
# -*- encoding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
assert sys.version_info >= (2, 7), "Python 2.7+ required."
current_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_dir, 'README.rst')) as readme_file:
with open(os.path.join(current_dir, 'CHANGES.rst')) as changes_file:
long_description = readme_file.read() + '\n' + changes_file.read()
sys.path.insert(0, current_dir + os.sep + 'src')
from ralph_scrooge import VERSION # noqa
release = ".".join(str(num) for num in VERSION)
setup(
name='ralph_scrooge',
version=release,
author='Grupa Allegro Sp. z o.o. and Contributors',
author_email='it-ralph-dev@allegro.pl',
description="Pricing module for Ralph",
long_description=long_description,
url='http://ralph.allegrogroup.com/',
keywords='',
platforms=['any'],
license='Apache Software License v2.0',
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
zip_safe=False, # because templates are loaded from file path
install_requires=[
'ddt==1.1.1',
'dj.choices==0.11.0',
'django-auth-ldap==1.2.8',
'django-autocomplete-light==3.2.7',
'django-filter==0.15.3',
'django-nose==1.4.4',
'django-rq==0.9.3',
'django-simple-history==1.8.1',
'django==1.10.2',
'djangorestframework==3.5.3',
'factory-boy==2.3.1',
'flake8==3.3.0',
'gunicorn==19.6.0',
'ipaddr==2.1.11',
'ipaddress==1.0.17',
'mock-django==0.6.6',
'mock==0.8.0',
'MySQL-python==1.2.3',
'paramiko==1.17.6',
'pyhermes>=0.1.2',
'pymongo>=2.7.2',
'python-dateutil==2.5.3',
'python-novaclient==2.17.0',
'pyyaml==3.12',
'rq==0.12.0',
'six==1.10.0',
'SQLAlchemy==0.7.8',
# these two are not required, but we install them everytime anyway...
'ipython==2.4.1',
'ipdb==0.10.2',
],
entry_points={
'django.pluggable_app': [
'scrooge = ralph_scrooge.app:Scrooge',
],
'scrooge.collect_plugins': [
'scrooge = ralph_scrooge.plugins.collect',
],
'console_scripts': [
'scrooge = ralph_scrooge.__main__:prod',
'dev_scrooge = ralph_scrooge.__main__:dev',
'test_scrooge = ralph_scrooge.__main__:test',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows :: Windows NT/2000',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Topic :: Internet :: WWW/HTTP',
]
)