-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (42 loc) · 1.19 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
from setuptools import setup, find_packages
import subprocess
import sys
subprocess.check_call(
[sys.executable, "-m", "pip", "install", "grpcio-tools==1.46.3"]
)
subprocess.check_call(
[sys.executable, "./colink/proto/proto_gen.py", "v3"]
)
subprocess.check_call(
[sys.executable, "-m", "pip", "install", "grpcio-tools==1.50.0"]
)
subprocess.check_call(
[sys.executable, "./colink/proto/proto_gen.py", "v4"]
)
subprocess.check_call(
[sys.executable, "-m", "pip", "uninstall", "-y", "grpcio-tools"]
)
desc_file = open("README.md", "r")
long_description = desc_file.read()
desc_file.close()
setup(
name="colink",
version="0.3.7",
description="colink python module",
long_description=long_description,
long_description_content_type="text/markdown",
author="Wenjie Qu",
author_email="",
packages=find_packages(include=["colink", "colink.*"]),
install_requires=[
"grpcio>=1.27.2",
"protobuf>=3.19.0,<5.0dev",
"coincurve>=18.0.0",
"cryptography>=39.0.1",
"pika>=1.2.0",
"pyjwt>=2.6.0",
"requests>=2.28.1",
"requests_toolbelt>=0.10.1",
"redis>=4.5.4"
], # external packages as dependencies
)