forked from CycodeLabs/raven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (37 loc) · 1.28 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
from setuptools import find_packages
from setuptools import setup
from distutils import log
import pathlib
import sys
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
REQUIRMENTS = (HERE / "requirements.txt").read_text().splitlines()
CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3, 9)
if CURRENT_PYTHON < REQUIRED_PYTHON:
log.fatal("Raven requires Python V3.9 or greater.")
sys.exit(1)
setup(
name="raven",
description="",
long_description=README,
url="https://github.com/CycodeLabs/raven",
project_urls={"Source": "https://github.com/CycodeLabs/raven"},
author="Cycode",
license="Apache License 2.0",
python_requires=">=3.9",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: Unix",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Topic :: CI/CD Security",
],
install_requires=REQUIRMENTS,
packages=find_packages(exclude=("tests", "tests.*")),
entry_points={"console_scripts": ["raven = src.cmdline:execute"]},
)