-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (75 loc) · 2.92 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
# Copyright 2022 Ashley R. Thomas
#
# 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.
import setuptools
atbu_constants = {}
with open("./src/atbu/tools/backup/constants.py", encoding="utf-8") as fp:
# pylint: disable-next=exec-used
exec(fp.read(), atbu_constants)
# Redirect from long_description to github README.rst since
# PyPi chokes on this particular README.rst.
# with open("README.rst", "r", encoding="utf-8") as fh:
# long_description = fh.read()
setuptools.setup(
name="atbu-pkg",
version=atbu_constants['ATBU_VERSION_STRING'],
author="Ashley R. Thomas",
author_email="[email protected]",
description= (
"ATBU package supports local/cloud backup/restore "
"as well as local file integrity diff tool for helping in "
"efforts to manage file integrity, duplication, and bitrot detection."
),
entry_points = {
'console_scripts': ['atbu=atbu.tools.backup.command_line:main']
},
long_description="""
ATBU Backup & Persistent File Information is a local/cloud backup/restore
command-line utility with optional deduplication and bitrot detection,
plus a little utility with useful digest-based directory file diff'ing.
Install: `pip install atbu-pkg`
GitHub: https://github.com/AshleyT3/atbu
Documentation: https://atbu.readthedocs.io/en/latest/
""",
long_description_content_type="text/markdown",
url="https://github.com/AshleyT3/atbu",
project_urls={
"Bug Tracker": "https://github.com/AshleyT3/atbu/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: System :: Archiving :: Backup",
],
package_dir={"": "src"},
packages=setuptools.find_namespace_packages(where="src"),
python_requires=">=3.10",
install_requires=[
"atbu-common-pkg >= 0.0.12",
"atbu-mp-pipeline-pkg >= 0.0.10",
"cryptography >= 43.0.0",
"pwinput >= 1.0.3",
"keyring >= 25.3.0",
"apache-libcloud >= 3.8.0",
"azure-storage-blob >= 12.22.0",
"google-auth >= 2.34.0",
"google-cloud-storage >= 2.18.2",
"google-resumable-media >= 2.7.2",
"tabulate >= 0.9.0",
"Send2Trash >= 1.8.3",
]
)