-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (66 loc) · 2.53 KB
/
setup.py
File metadata and controls
72 lines (66 loc) · 2.53 KB
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
#!/usr/bin/env python
# This work was created by participants in the DataONE project, and is
# jointly copyrighted by participating institutions in DataONE. For
# more information on DataONE, see our web site at http://dataone.org.
#
# Copyright 2013 DataONE
#
# 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
#
# http://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.
"""DataONE developer tools package."""
import sys
import setuptools
def main():
setuptools.setup(
name="dataone.dev",
version='3.5.0',
description="DataONE developer tools",
author="DataONE Project",
author_email="developers@dataone.org",
url="https://github.com/DataONEorg/d1_dev",
license="Apache License, Version 2.0",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
# These are not yet available when bootstrapping on Travis
#'dataone.cli == 2.3.0rc1',
#'dataone.common == 2.3.0rc1',
#'dataone.libclient == 2.3.0rc1',
#
# This is a hack to force a version of idna that is compatible with both
# asn1crypto and requests. Without this, if asn1crypto is installed first,
# it will install idna 2.6, and requests will fails due to the fact that
# Python doesn't have a real package manager.
# 'idna == 2.6',
#
"baron >= 0.9",
"pip >= 20.2.1",
"redbaron >= 0.9.2",
"sphinx",
"sphinx-better-theme",
"python-xlib",
"black",
"isort",
],
setup_requires=["setuptools_git >= 1.1"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
],
keywords="DataONE python",
)
if __name__ == "__main__":
sys.exit(main())