-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
92 lines (86 loc) · 2.93 KB
/
setup.py
File metadata and controls
92 lines (86 loc) · 2.93 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/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.15.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="office@crate.io",
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=[
"bitmath>=1,<2",
"certifi",
"colorama>=0.3,<1",
"importlib-metadata; python_version < '3.8'",
"marshmallow>=3,<5",
"platformdirs>=4,<5",
"pyyaml>=6.0.2,<7",
"requests>=2,<3",
"tabulate>=0.8,<1.0",
"yarl>=1,<2",
"halo<0.1",
"shtab>=1,<2",
"tqdm>=4,<5",
],
extras_require={
"testing": [
"pytest<9",
"pytest-cov<8",
"pytest-freezer<0.5",
"pytest-mock<4",
"pytest-random-order<2",
"tox<4",
],
"development": [
"black<26",
"flake8<7.3",
"isort<6",
"mypy<1.20",
],
},
python_requires=">=3.9",
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)