-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
41 lines (38 loc) · 1.23 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
import re
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open('./draw_mempool/__init__.py', 'r') as f:
MATCH_EXPR = "__version__[^'\"]+(['\"])([^'\"]+)"
VERSION = re.search(MATCH_EXPR, f.read()).group(2)
setup(
name='draw_mempool',
version=VERSION,
author='conscott',
author_email='conor.r.scott.88@gmail.com',
description="Draw the Bitcoin Core mempool",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/conscott/draw_mempool",
keywords="bitcoin mempool",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.4',
install_requires=[
'matplotlib==2.1.2',
'networkx==2.1',
],
entry_points={
'console_scripts': [
'draw_mempool = draw_mempool.draw_mempool:main',
],
}
)