-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
51 lines (45 loc) · 1.63 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
import pathlib
import sys
import os
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
PKG = "pyPreservica"
# 'setup.py publish' shortcut.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel')
os.system('twine upload dist/*')
sys.exit()
# This call to setup() does all the work
setup(
name=PKG,
version="2.8.2",
description="Python library for the Preservica API",
long_description=README,
long_description_content_type="text/markdown",
url="https://pypreservica.readthedocs.io/",
author="James Carr",
author_email="drjamescarr@gmail.com",
license="Apache License 2.0",
packages=["pyPreservica"],
classifiers=[
'Programming Language :: Python :: 3',
'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',
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: System :: Archiving",
],
keywords='Preservica API Preservation',
install_requires=["requests", "urllib3", "certifi", "boto3", "botocore", "s3transfer", "azure-storage-blob", "tqdm", "pyotp"],
project_urls={
'Documentation': 'https://pypreservica.readthedocs.io',
'Source': 'https://github.com/carj/pyPreservica',
'Discussion Forum': 'https://groups.google.com/g/pypreservica',
}
)