forked from tk0miya/testing.mysqld
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (43 loc) · 1.5 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
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
]
install_requires = ['testing.common.database >= 1.1.0', 'pymysql']
if sys.version_info < (2, 7):
install_requires.append('unittest2')
setup(
name='testing.mysqld',
version='1.4.0',
description='automatically setups a mysqld instance in a temporary directory, and destroys it after testing',
long_description=open('README.rst').read(),
classifiers=classifiers,
keywords=[],
author='Takeshi Komiya',
author_email='i.tkomiya at gmail.com',
url='https://github.com/tk0miya/testing.mysqld',
license='Apache License 2.0',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['buildout.cfg']},
include_package_data=True,
install_requires=install_requires,
extras_require={
'testing': ['mock', 'nose', 'SQLAlchemy'],
},
test_suite='nose.collector',
namespace_packages=['testing'],
)