Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
setup.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 
3 # Copyright (c) 2015-2022 Clearmatics Technologies Ltd
4 #
5 # SPDX-License-Identifier: LGPL-3.0+
6 
7 import sys
8 from setuptools import find_packages
9 from distutils.core import setup
10 
11 
12 if not hasattr(sys, 'base_prefix') or sys.base_prefix == sys.prefix:
13  print("ERROR: This is not production software, install inside a venv")
14  exit(1)
15 
16 if sys.version_info < (3, 7):
17  print("ERROR: requires python >=3.7")
18  exit(1)
19 
20 
21 setup(
22  name='coordinator',
23  version='0.8',
24  description='MPC Coordinator for Zeth SRS',
25  packages=find_packages(),
26  install_requires=[
27  "mypy==0.790",
28  "flake8==3.7.8",
29  "pylint==2.9",
30  "flask==1.1.1",
31  "cheroot==7.0.0",
32  "pycryptodome==3.9.0",
33  "ecdsa==0.13.3",
34  "click==7.0",
35  "requests==2.22.0",
36  # flask constraints on dependencies are too loose. Constrain the
37  # versions here to avoid CI failures.
38  "Jinja2==3.0.3",
39  "itsdangerous==2.0.1",
40  "Werkzeug==2.0.2",
41  ],
42  scripts=[
43  "commands/phase1_server",
44  "commands/phase1_contribute",
45  "commands/phase2_prepare",
46  "commands/phase2_server",
47  "commands/phase2_contribute",
48  "commands/get_challenge",
49  "commands/upload_contribution",
50  "commands/sign_contribution",
51  "commands/generate_key",
52  "commands/public_key",
53  "commands/contributors_from_csv",
54  "commands/create_keypair",
55  ]
56 )
setup
Definition: setup.py:1