-
Notifications
You must be signed in to change notification settings - Fork 14
/
honest_setup.py
75 lines (67 loc) · 1.92 KB
/
honest_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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
"""
pip3 installations
pkg-config and libsecp256k1 installations
"""
import os
from subprocess import call
from setuptools import setup, find_packages
def sudos():
"""
Intall pkg-config and libsecp256k1.
"""
print("\n\n")
print("Installing pkg-config and libsecp256k1")
print("\n\n")
call(["sudo", "apt-get", "update"])
call(["sudo", "apt-get", "install", "pkg-config"])
call(["sudo", "apt-get", "install", "libsecp256k1-dev"])
print("\n\n")
print("pkg-config and libsecp256k1 indicator package installs complete")
__VERSION__ = "0.00000001"
__AUTHOR__ = "litepresence"
__AUTHOR_EMAIL__ = "[email protected]"
__URL__ = "http://www.litepresence.com"
__NAME__ = "Honest-MPA-Price-Feeds"
sudos()
print("\n\nInstalling requirements.txt...\n\n")
setup(
name=__NAME__,
version=__VERSION__,
description="HONEST MPA PRICE FEEDS FOR BITSHARES DEX",
long_description=open("README.md").read(),
download_url="https://github.com/litepresence/extinction-event/tarball/" + __VERSION__,
author=__AUTHOR__,
author_email=__AUTHOR_EMAIL__,
url=__URL__,
keywords=[
"bts",
"bitshares",
"palmpaybtc",
"bitcoin",
"crypto",
"altcoin",
"cryptocurrency",
"smart",
"contract",
"distributed",
"exchange",
"litepresence",
"market pegged asset",
"MPA",
"smartcoin",
"makerDAO",
],
packages=find_packages(),
classifiers=[
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Information Analysis",
],
install_requires=open("requirements.txt").read().split(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
include_package_data=True,
)