-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
34 lines (27 loc) · 877 Bytes
/
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
import sys
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
try:
from django import VERSION as django_version
except ImportError:
django_version = None
install_requires = [
'Django >= 1.8',
'mysqlclient>=1.3.6' if sys.version_info[0] == 3 else 'MySQL-python>=1.2.5',
'six>=1.10.0',
]
if django_version and django_version < (1, 9):
install_requires.append('django-transaction-hooks >= 0.2')
setup(
name='django-mysqlndb-backend',
version='1.2.1',
author_email='programmers@theatlantic.com',
packages=['mysqlndb'],
url='https://github.com/theatlantic/django-mysqlndb-backend',
description='Provides a django database backend that works with MySQL Cluster\'s NDB storage engine.',
install_requires=install_requires,
)