1
|
|
|
import setuptools |
2
|
|
|
import sys |
3
|
|
|
from file_sync_tool import info |
4
|
|
|
|
5
|
|
|
if sys.version_info < (3, 5): |
6
|
|
|
sys.exit('file_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='file_sync_tool-kmi', |
13
|
|
|
version=info.__version__, |
14
|
|
|
author='Konrad Michalik', |
15
|
|
|
author_email='[email protected]', |
16
|
|
|
description='Synchronize files 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
|
|
|
'Development Status :: 5 - Production/Stable', |
28
|
|
|
'License :: OSI Approved :: MIT License', |
29
|
|
|
'Operating System :: MacOS :: MacOS X', |
30
|
|
|
'Operating System :: Microsoft :: Windows', |
31
|
|
|
'Operating System :: POSIX', |
32
|
|
|
'Intended Audience :: Developers' |
33
|
|
|
], |
34
|
|
|
python_requires='>=3.5', |
35
|
|
|
install_requires=[ |
36
|
|
|
"future-fstrings>=1.2", |
37
|
|
|
"db-sync-tool-kmi>=2.9.0" |
38
|
|
|
], |
39
|
|
|
entry_points={ |
40
|
|
|
'console_scripts': [ |
41
|
|
|
'file_sync_tool = file_sync_tool.__main__:main' |
42
|
|
|
] |
43
|
|
|
}, |
44
|
|
|
) |
45
|
|
|
|