Python 3 library and CLI application for SporeStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

51 lines
1.4 KiB

#!/usr/bin/env python3
from setuptools import find_packages, setup
VERSION = None
with open("src/sporestack/version.py") as f:
for line in f:
if line.startswith("__version__"):
VERSION = line.replace('"', "").split("=")[1].strip()
break
if VERSION is None:
raise ValueError("__version__ not found in __init__.py")
DOWNLOAD_HOST = "https://git.sporestack.com"
REPO_URL = f"{DOWNLOAD_HOST}/SporeStack/sporestack-python"
DOWNLOAD_URL = f"{REPO_URL}/archive/{VERSION}.tar.gz"
DESCRIPTION = "SporeStack.com library and client. Launch servers with Bitcoin."
KEYWORDS = [
"bitcoin",
"bitcoincash",
"bitcoinsv",
"monero",
"servers",
"infrastructure",
"vps",
"virtual private server",
]
setup(
python_requires=">=3.7",
name="sporestack",
version=VERSION,
author="SporeStack",
author_email="admin@sporestack.com",
description=DESCRIPTION,
keywords=KEYWORDS,
license="Unlicense",
url="https://sporestack.com/",
download_url=DOWNLOAD_URL,
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={"sporestack": ["py.typed"]},
install_requires=[
"pyqrcode",
"requests[socks]>=2.22.0",
"aaargh",
],
entry_points={"console_scripts": ["sporestack = sporestack.client:main"]},
zip_safe=False, # This is so py.typed gets included.
)