-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
47 lines (42 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
41
42
43
44
45
46
47
import os
import re
from setuptools import setup, find_packages
with open("README.md", "r") as f:
long_description = f.read()
# Borrowed from urllib3 (which is in turn borrowed from SQLAlchemy)
base_path = os.path.dirname(__file__)
ver_path = os.path.join(base_path, "silence", "__init__.py")
with open(ver_path, "r") as f:
version = re.compile(r""".*__version__ = ["'](.*?)['"]""", re.S).match(f.read()).group(1)
setup(
name="Silence",
version=version,
description="An educational API+Web framework.",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/DEAL-US/Silence",
author="Agustín Borrego",
author_email="borrego@us.es",
maintainer="Miguel Bermudo",
maintainer_email="mbermudo@us.es",
license="MIT",
packages=find_packages(),
entry_points={
"console_scripts": [
"silence = silence.cli.manager:run_from_command_line",
],
},
install_requires=[
"colorama~=0.4.4",
"cryptography~=36.0.2",
"Flask-Cors==3.0.10",
"Flask==2.0.3",
"itsdangerous~=2.0.1",
"PyMySQL~=1.0.2",
"pypika==0.48.9",
"requests~=2.27.1",
"Werkzeug~=2.0.3",
],
python_requires="~=3.8",
zip_safe=False
)