-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (30 loc) · 1.24 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
from setuptools import setup, find_packages
from os import path
DESCRIPTION = 'DefiChain exporter for Prometheus'
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
# Setting up
setup(
# the name must match the folder name 'verysimplemodule'
name="defichain_exporter",
version="0.0.1",
author="Christian Sandrini",
author_email="[email protected]",
url="https://github.com/sandrich/defichain_exporter",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
packages=find_packages(),
install_requires=['jsonrpc_requests', 'prometheus-client'], # add any additional packages that
# needs to be installed along with your package. Eg: 'caer'
keywords=['python', 'defichain', 'exporter'],
classifiers= [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux"
],
entry_points = {
"console_scripts": ["defichain-exporter=defichain_exporter.__main__:main"]
}
)