This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
59 lines (49 loc) · 1.4 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup for the Python Cursor on Target Module.
:author: Greg Albrecht W2GMD <oss@undef.net>
:copyright: Copyright 2020 Orion Labs, Inc.
:license: Apache License, Version 2.0
:source: <https://github.com/ampledata/pycot>
"""
import os
import setuptools
import sys
__title__ = 'pycot'
__version__ = '2.5.1'
__author__ = 'Greg Albrecht W2GMD <oss@undef.net>'
__copyright__ = 'Copyright 2020 Orion Labs, Inc.'
__license__ = 'Apache License, Version 2.0'
def publish():
"""Function for publishing package to pypi."""
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist')
os.system('twine upload dist/*')
sys.exit()
publish()
setuptools.setup(
version=__version__,
name=__title__,
packages=[__title__],
package_dir={__title__: __title__},
url=f'https://github.com/ampledata/{__title__}',
description='Python Cursor on Target Module.',
author='Greg Albrecht',
author_email='oss@undef.net',
package_data={'': ['LICENSE']},
license=open('LICENSE').read(),
long_description=open('README.rst').read(),
zip_safe=False,
include_package_data=True,
install_requires=[
'gexml >= 1.0.0'
],
classifiers=[
'Programming Language :: Python',
'License :: OSI Approved :: Apache Software License'
],
keywords=[
'Cursor on Target', 'ATAK'
]
)