-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (49 loc) · 1.2 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
import os
from setuptools import setup, find_packages
# Define the project metadata
NAME = "universal-consensus"
VERSION = "1.0.0"
DESCRIPTION = "A high-tech consensus algorithm for the universe"
AUTHOR = "Your Name"
AUTHOR_EMAIL = "your@email.com"
URL = "https://github.com/KOSASIH/universal-consensus"
# Define the dependencies
INSTALL_REQUIRES = [
"flask==2.2.5",
"flask_restful==0.3.8",
"flask_sqlalchemy==2.5.1",
"sqlalchemy==1.4.25",
"psycopg2-binary==2.9.1",
"requests==2.32.2",
"cryptography==42.0.4",
]
# Define the testing dependencies
TESTS_REQUIRE = [
"pytest==6.2.4",
"pytest-cov==2.12.1",
"coverage==6.3.2",
]
# Define the development dependencies
EXTRA_REQUIRE = {
"dev": [
"ipython==8.10.0",
"jupyter==1.0.0",
],
}
# Define the package metadata
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
extras_require=EXTRA_REQUIRE,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
)