-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 1.1 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
from setuptools import setup, find_packages
def parse_requirements(filename):
result = []
with open(filename, "r", encoding="utf-8") as f:
for line in (line.strip() for line in f):
if not line or line.startswith("#"):
continue
if line.startswith("-r"):
_, filename = line.split(" ", 1)
result.extend(parse_requirements(filename))
else:
result.append(line)
return result
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="bondi",
version="0.0.1",
author="Pavel Knyazev",
url="https://github.com/Bondifuzz/bondi-python",
description="Bondifuzz command line interface implemented in python",
install_requires=parse_requirements("requirements-prod.txt"),
entry_points={"console_scripts": ["bondi=bondi.app:main"]},
packages=find_packages(exclude=["*tests*"]),
long_description_content_type="text/markdown",
long_description=long_description,
python_requires=">=3.7",
)