forked from tkhyn/dirsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (53 loc) · 1.86 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
"""
dirsync
Advanced directory tree synchronisation tool
(c) 2014-2020 Thomas Khyn
(c) 2003-2015 Anand B Pillai
MIT license (see LICENSE.txt)
"""
from setuptools import setup, find_packages
import os
# imports __version__ and __version_info__ variables
exec(open('dirsync/version.py').read())
INC_PACKAGES = __pkg_name__, # string or tuple of strings
EXC_PACKAGES = () # tuple of strings
dev_status = __version_info__[3]
if dev_status == 'alpha' and not __version_info__[4]:
dev_status = 'pre'
DEV_STATUS = {'pre': '2 - Pre-Alpha',
'alpha': '3 - Alpha',
'beta': '4 - Beta',
'rc': '4 - Beta',
'final': '5 - Production/Stable'}
setup(
name=__pkg_name__,
version=__version__,
description='Advanced directory tree synchronisation tool',
long_description=open(os.path.join('README.rst')).read(),
author='Thomas Khyn',
author_email='[email protected]',
url='https://github.com/tkhyn/dirsync/',
keywords=['directory', 'folder', 'update', 'synchronisation'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Development Status :: %s' % DEV_STATUS[dev_status],
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Environment :: Console',
'Topic :: Utilities',
'Topic :: Desktop Environment',
'Topic :: System :: Archiving :: Backup',
'Topic :: System :: Archiving :: Mirroring'
],
packages=find_packages(),
install_requires=('six',),
entry_points={
'console_scripts': [
'dirsync = dirsync.run:from_cmdline'
],
}
)