forked from testcontainers/testcontainers-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (67 loc) · 2.55 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
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import setuptools
with open('README.rst') as fp:
long_description = fp.read()
# Load the version number
try:
with open('VERSION') as fp:
version = fp.read().strip()
except FileNotFoundError:
version = 'dev'
setuptools.setup(
name='testcontainers',
packages=setuptools.find_packages(exclude=['tests']),
version=version,
description='Library provides lightweight, throwaway instances of common databases, Selenium '
'web browsers, or anything else that can run in a Docker container',
author='Sergey Pirogov',
author_email='[email protected]',
url='https://github.com/testcontainers/testcontainers-python',
keywords=['testing', 'logging', 'docker', 'test automation'],
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Information Technology',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
],
install_requires=[
'docker',
'wrapt',
'deprecation',
],
extras_require={
'docker-compose': ['docker-compose'],
'mysql': ['sqlalchemy', 'pymysql'],
'oracle': ['sqlalchemy', 'cx_Oracle'],
'postgresql': ['sqlalchemy', 'psycopg2-binary'],
'selenium': ['selenium'],
'google-cloud-pubsub': ['google-cloud-pubsub'],
'mongo': ['pymongo'],
'redis': ['redis'],
'mssqlserver': ['pyodbc'],
'neo4j': ['neo4j'],
'kafka': ['kafka-python']
},
long_description_content_type="text/x-rst",
long_description=long_description,
python_requires='>=3.5',
)