-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.3 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.3 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
import setuptools
import os
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setuptools.setup(
name="osas",
version="0.9.3",
author="Multiple Authors",
author_email="boros@adobe.com",
description="One Stop Anomaly Shop",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/adobe/OSAS/",
project_urls={
"Source Code": "https://github.com/adobe/OSAS/",
"Bug Tracker": "https://github.com/adobe/OSAS/issues",
"Documentation": "https://github.com/adobe/OSAS/docs/"
},
classifiers=[
"Programming Language :: Python :: 3.0",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages("src"),
python_requires=">=3.10",
include_package_data=True,
install_requires=parse_requirements("requirements.txt"),
package_dir={"": "src"},
entry_points = {
"console_scripts": [
"osas = osas.cli:main"
]
}
)