setup   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 44
dl 0
loc 49
rs 10
c 0
b 0
f 0
1
import setuptools
2
import sys
3
from db_sync_tool import info
4
5
if sys.version_info < (3, 5):
6
    sys.exit('db_sync_tool requires Python 3.5+ to run')
7
8
with open('README.md', 'r') as fh:
9
    long_description = fh.read()
10
11
setuptools.setup(
12
    name='db_sync_tool-kmi',
13
    version=info.__version__,
14
    author='Konrad Michalik',
15
    author_email='[email protected]',
16
    description='Synchronize a database from and to host systems.',
17
    long_description=long_description,
18
    long_description_content_type='text/markdown',
19
    url=info.__homepage__,
20
    license='MIT',
21
    packages=setuptools.find_packages(),
22
    classifiers=[
23
        'Programming Language :: Python :: 3.5',
24
        'Programming Language :: Python :: 3.6',
25
        'Programming Language :: Python :: 3.7',
26
        'Programming Language :: Python :: 3.8',
27
        'Programming Language :: Python :: 3.9',
28
        'Development Status :: 5 - Production/Stable',
29
        'License :: OSI Approved :: MIT License',
30
        'Operating System :: MacOS :: MacOS X',
31
        'Operating System :: Microsoft :: Windows',
32
        'Operating System :: POSIX',
33
        'Topic :: Database',
34
        'Intended Audience :: Developers'
35
    ],
36
    python_requires='>=3.5',
37
    install_requires=[
38
        "paramiko>=2.11",
39
        "future-fstrings>=1.2",
40
        "pyyaml>=6.0",
41
        "jsonschema>=4.2.1",
42
        "requests>=2.26.0",
43
        "semantic_version>=2.8.5",
44
        "yaspin>=2.1"
45
    ],
46
    entry_points={
47
        'console_scripts': [
48
            'db_sync_tool = db_sync_tool.__main__:main'
49
        ]
50
    },
51
)
52