This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
80 lines (72 loc) · 2.54 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
"""Marlin -- Salish Sea NEMO svn-hg Maintenance Tool
Copyright 2015-2021 The Salish Sea MEOPAR Contributors
and The University of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from setuptools import (
find_packages,
setup,
)
import __pkg_metadata__
python_classifiers = [
'Programming Language :: Python :: {0}'.format(py_version)
for py_version in ['2', '2.7']]
other_classifiers = [
'Development Status :: ' + __pkg_metadata__.DEV_STATUS,
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
]
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
install_requires = [
# see requirements.txt for versions most recently used in development
'arrow',
'cliff',
# 'SalishSeaTools',
# on Ubuntu symlink pysvn from /usr/lib/python2.7/dist-packages/pysvn
]
setup(
name=__pkg_metadata__.PROJECT,
version=__pkg_metadata__.VERSION,
description=__pkg_metadata__.DESCRIPTION,
long_description=long_description,
author='Doug Latornell',
author_email='[email protected]',
url='https://salishsea-meopar-tools.readthedocs.org/en/latest/Marlin/',
license='Apache License, Version 2.0',
classifiers=python_classifiers + other_classifiers,
platforms=['MacOS X', 'Linux'],
install_requires=install_requires,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
# The marlin command:
'console_scripts': [
'marlin = marlin.main:main',
],
# Sub-command plug-ins:
'marlin.app': [
'incoming = marlin.svn:SVNIncoming',
'update = marlin.svn:SVNUpdate',
],
},
)