This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
76 lines (63 loc) · 2.13 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
#! /usr/bin/env python
#
# Copyright (C) 2021-2021 Credo AI
import setuptools
# get version
exec(open("connect/_version.py").read())
DESCRIPTION = "Credo AI Connect: Integration point for Credo AI Governance Platform"
DISTNAME = "credoai-connect"
MAINTAINER = "Ian Eisenberg"
MAINTAINER_EMAIL = "[email protected]"
URL = ""
LICENSE = ""
DOWNLOAD_URL = "https://github.com/credo-ai/credoai_connect"
VERSION = __version__
PYTHON_REQUIRES = ">=3.7"
# Fetch ReadMe
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
# Use requirements.txt to set the install_requires
with open("requirements.txt") as f:
INSTALL_REQUIRES = [line.strip() for line in f]
# Fetch dev requirements files (including documentation)
with open("requirements-dev.txt") as f:
dev_requirements = [line.strip() for line in f]
with open("docs/requirements.txt") as f:
doc_requirements = [line.strip() for line in f]
dev_requirements += doc_requirements
EXTRAS_REQUIRES = {"dev": dev_requirements}
CLASSIFIERS = [
"Intended Audience :: Information Technology",
"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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
]
PACKAGE_DATA = {}
if __name__ == "__main__":
import sys
from setuptools import setup
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRES,
packages=setuptools.find_packages(),
classifiers=CLASSIFIERS,
include_package_data=True,
package_data=PACKAGE_DATA,
)