2019-07-19 05:30:31 +02:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-01-13 14:19:53 +01:00
|
|
|
dependencies = [
|
2020-03-27 20:19:57 +01:00
|
|
|
"aiter", # Used for async generator tools
|
|
|
|
"blspy", # Signature library
|
|
|
|
"cbor2", # Used for network wire format
|
|
|
|
"pyyaml", # Used for config file format
|
|
|
|
"miniupnpc", # Allows users to open ports on their router
|
|
|
|
"aiosqlite", # asyncio wrapper for sqlite, to store blocks
|
|
|
|
"aiohttp", # HTTP server for full node rpc
|
|
|
|
"setuptools-scm", # Used for versioning
|
|
|
|
"colorlog", # Adds color to logs
|
|
|
|
"chiavdf", # timelord and vdf verification
|
|
|
|
"chiabip158", # bip158-style wallet filters
|
|
|
|
"chiapos", # proof of space
|
2020-03-30 11:03:03 +02:00
|
|
|
"sortedcontainers", # For maintaining sorted mempools
|
|
|
|
"websockets", # For use in wallet RPC and electron UI
|
2020-01-13 14:19:53 +01:00
|
|
|
]
|
2019-11-18 05:50:31 +01:00
|
|
|
dev_dependencies = [
|
|
|
|
"pytest",
|
|
|
|
"flake8",
|
|
|
|
"mypy",
|
|
|
|
"isort",
|
|
|
|
"autoflake",
|
|
|
|
"black",
|
2020-03-27 20:19:57 +01:00
|
|
|
"pytest-asyncio",
|
2019-11-18 05:50:31 +01:00
|
|
|
]
|
2019-07-19 05:30:31 +02:00
|
|
|
|
|
|
|
setup(
|
2019-11-18 05:50:31 +01:00
|
|
|
name="chiablockchain",
|
|
|
|
author="Mariano Sorgente",
|
|
|
|
author_email="mariano@chia.net",
|
|
|
|
description="Chia proof of space plotting, proving, and verifying (wraps C++)",
|
|
|
|
license="Apache License",
|
|
|
|
python_requires=">=3.7, <4",
|
|
|
|
keywords="chia blockchain node",
|
2020-03-27 20:17:34 +01:00
|
|
|
install_requires=dependencies,
|
2019-12-09 13:29:37 +01:00
|
|
|
setup_requires=["setuptools_scm"],
|
2020-03-28 01:09:19 +01:00
|
|
|
extras_require={"uvloop": ["uvloop"], },
|
|
|
|
packages=[
|
|
|
|
"src",
|
|
|
|
"src.cmds",
|
|
|
|
"src.consensus",
|
|
|
|
"src.full_node",
|
|
|
|
"src.protocols",
|
|
|
|
"src.rpc",
|
|
|
|
"src.server",
|
2020-03-30 00:23:27 +02:00
|
|
|
"src.simulator",
|
2020-03-28 01:09:19 +01:00
|
|
|
"src.types",
|
|
|
|
"src.util",
|
|
|
|
"src.wallet",
|
|
|
|
"src.wallet.puzzles",
|
|
|
|
"src.wallet.rl_wallet",
|
|
|
|
"src.wallet.util",
|
|
|
|
],
|
2020-03-27 20:17:34 +01:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"chia = src.cmds.cli:main",
|
2020-03-29 22:28:14 +02:00
|
|
|
"chia-check-plots = src.cmds.check_plots:main",
|
|
|
|
"chia-create-plots = src.cmds.create_plots:main",
|
|
|
|
"chia-generate-keys = src.cmds.generate_keys:main",
|
2020-03-30 01:34:27 +02:00
|
|
|
"chia-websocket-server = src.wallet.websocket_server:main",
|
2020-03-27 20:17:34 +01:00
|
|
|
]
|
2020-01-23 06:19:47 +01:00
|
|
|
},
|
2020-03-30 00:23:27 +02:00
|
|
|
package_data={
|
|
|
|
"src.util": ["initial-*.yaml"],
|
|
|
|
"src.server": ["dummy.crt", "dummy.key"],
|
|
|
|
},
|
2019-12-13 23:57:51 +01:00
|
|
|
use_scm_version={"fallback_version": "unknown-no-.git-directory"},
|
2019-11-13 08:25:42 +01:00
|
|
|
long_description=open("README.md").read(),
|
2019-07-19 05:30:31 +02:00
|
|
|
zip_safe=False,
|
|
|
|
)
|