This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
89 lines (82 loc) · 3.42 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# --------------------------------License Notice----------------------------------
# CNTOSync - Carpe Noctem Tactical Operations ArmA3 mod synchronization tool
# Copyright (C) 2018 Carpe Noctem - Tactical Operations (aka. CNTO) (contact@carpenoctem.co)
#
# The authors of this software are listed in the AUTHORS file at the
# root of this software's source code tree.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# All rights reserved.
# --------------------------------License Notice----------------------------------
"""Setuptools-backed setup module."""
import codecs
import os
import setuptools
if __name__ == '__main__':
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
# Use README.rst as source for setuptools.setup's long_description param
with codecs.open(os.path.join(ROOT_DIR, 'README.rst'),
encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setuptools.setup(
# Distutils parameters
name='CNTOSync',
description='Carpe Noctem Tactical Operations ArmA3 mod synchronization tool',
long_description=LONG_DESCRIPTION,
author='Carpe Noctem Tactical Operations developers',
url='https://github.com/CntoDev/CNTOSync/',
packages=setuptools.find_packages(exclude=['tests']),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Environment :: X11 Applications :: Qt',
'Environment :: Win32 (MS Windows)',
'Programming Language :: Python :: 3',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Build Tools',
'Topic :: System :: Software Distribution',
'Topic :: Utilities',
],
license='GNU General Public License Version 3',
keywords='cnto carpe noctem arma3 mods sync synchronisation http',
# Setuptools parameters
include_package_data=True,
install_requires=[
'msgpack>=0.5.6,<1',
],
extras_require={
'dev': [
'ipython>=6.1,<7',
],
'test': [
'tox>=2.7,<3',
'pytest>=3.0,<4',
'pytest-mock>=1.5,<2',
],
'docs': [
'sphinx>=1.7.2,<2',
],
},
python_requires='>=3.6,<4',
setup_requires=['setuptools_scm'],
# setuptools_scm parameters
use_scm_version=True,
)