-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
93 lines (87 loc) · 3.02 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
90
91
92
93
#!/usr/bin/env python
#
# Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. Crate licenses
# this file to you 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.
#
# However, if you have executed another commercial license agreement
# with Crate these terms will supersede the license and you may use the
# software solely pursuant to the terms of the relevant commercial agreement.
# type: ignore
from packaging.version import Version
from setuptools import find_packages, setup
__version__ = Version("1.12.0")
try:
with open("README.rst", "r", encoding="utf-8") as f:
readme = f.read()
except IOError:
readme = ""
setup(
name="croud",
author="Crate.io",
author_email="[email protected]",
url="https://github.com/crate/croud",
description="A command line interface for CrateDB Cloud",
long_description_content_type="text/x-rst",
long_description=readme,
version=str(__version__),
entry_points={"console_scripts": ["croud = croud.__main__:main"]},
packages=find_packages(),
install_requires=[
"appdirs==1.4.4",
"bitmath==1.3.3.1",
"certifi",
"colorama==0.4.6",
"importlib-metadata; python_version < '3.8'",
"marshmallow==3.22.0",
"pyyaml==6.0.2",
"requests==2.32.3",
"tabulate>=0.8,<1.0",
"yarl==1.14.0",
"halo==0.0.31",
"shtab==1.7.1",
"tqdm==4.67.1",
],
extras_require={
"testing": [
"pytest<9",
"pytest-cov<7",
"pytest-freezer<0.5",
"pytest-random-order<2",
"tox<4",
],
"development": [
"black==24.10.0",
"flake8==7.0.0",
"isort==5.12.0",
"mypy<1.14",
],
},
python_requires=">=3.8",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Database",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)