-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (30 loc) · 1.06 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
from setuptools import setup, find_packages, find_namespace_packages
with open("requirements.txt") as f:
install_reqs = f.read().strip().split("\n")
# Filter out comments/hashes
reqs = []
for req in install_reqs:
if req.startswith("#") or req.startswith(" --hash="):
continue
reqs.append(str(req).rstrip(" \\"))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="bitcoin_p2p",
version="0.3.4",
author="Andreas Griffin",
author_email="[email protected]",
description="Bitcoin p2p communication tools in python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/andreasgriffin/bitcoin-p2p",
packages=find_packages(),
install_requires=reqs,
classifiers=[
"Development Status :: 3 - Alpha", # Replace with the appropriate development status
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
python_requires=">=3.7,<4.0",
)