2019-07-19 05:30:31 +02:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-03-30 21:00:13 +02:00
|
|
|
|
2020-01-13 14:19:53 +01:00
|
|
|
dependencies = [
|
2020-03-30 21:00:13 +02:00
|
|
|
"aiter==0.13.20191203", # Used for async generator tools
|
2020-05-20 03:49:01 +02:00
|
|
|
"blspy==0.1.27", # Signature library
|
2020-04-17 22:35:13 +02:00
|
|
|
"cbor2==5.1.0", # Used for network wire format
|
2020-03-30 21:00:13 +02:00
|
|
|
"clvm==0.4", # contract language
|
2020-05-16 23:13:47 +02:00
|
|
|
"PyYAML==5.3.1", # Used for config file format
|
|
|
|
"aiosqlite==0.13.0", # asyncio wrapper for sqlite, to store blocks
|
2020-03-30 21:00:13 +02:00
|
|
|
"aiohttp==3.6.2", # HTTP server for full node rpc
|
|
|
|
"colorlog==4.1.0", # Adds color to logs
|
2020-05-22 05:00:08 +02:00
|
|
|
"chiavdf==0.12.16", # timelord and vdf verification
|
2020-04-24 05:05:00 +02:00
|
|
|
"chiabip158==0.14", # bip158-style wallet filters
|
2020-05-23 08:18:27 +02:00
|
|
|
"chiapos==0.12.18", # proof of space
|
2020-03-30 21:00:13 +02:00
|
|
|
"sortedcontainers==2.1.0", # For maintaining sorted mempools
|
|
|
|
"websockets==8.1.0", # For use in wallet RPC and electron UI
|
2020-04-01 02:46:05 +02:00
|
|
|
"clvm-tools==0.1.1", # clvm compiler tools
|
2020-05-20 09:41:10 +02:00
|
|
|
"bitstring==3.1.6",
|
|
|
|
"keyring==21.2.1",
|
|
|
|
"keyring_jeepney==0.2",
|
|
|
|
"keyrings.cryptfile==1.3.4",
|
2020-05-16 23:13:47 +02:00
|
|
|
"cryptography==2.9.2", #Python cryptography library for TLS
|
2020-01-13 14:19:53 +01:00
|
|
|
]
|
2020-03-30 21:00:13 +02:00
|
|
|
|
2020-03-31 02:46:08 +02:00
|
|
|
upnp_dependencies = [
|
2020-04-17 21:31:28 +02:00
|
|
|
"miniupnpc==2.1", # Allows users to open ports on their router
|
2020-03-31 02:46:08 +02: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
|
|
|
|
2020-04-01 02:39:42 +02:00
|
|
|
kwargs = dict(
|
2020-03-30 21:23:50 +02:00
|
|
|
name="chia-blockchain",
|
2019-11-18 05:50:31 +01:00
|
|
|
author="Mariano Sorgente",
|
|
|
|
author_email="mariano@chia.net",
|
|
|
|
description="Chia proof of space plotting, proving, and verifying (wraps C++)",
|
2020-04-19 21:34:15 +02:00
|
|
|
url="https://chia.net/",
|
2019-11-18 05:50:31 +01:00
|
|
|
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-04-01 02:39:42 +02:00
|
|
|
extras_require=dict(
|
|
|
|
uvloop=["uvloop"], dev=dev_dependencies, upnp=upnp_dependencies,
|
|
|
|
),
|
2020-03-28 01:09:19 +01:00
|
|
|
packages=[
|
2020-05-20 09:41:10 +02:00
|
|
|
"build_scripts",
|
2020-03-28 01:09:19 +01:00
|
|
|
"src",
|
|
|
|
"src.cmds",
|
|
|
|
"src.consensus",
|
2020-05-14 23:27:51 +02:00
|
|
|
"src.daemon",
|
2020-03-28 01:09:19 +01:00
|
|
|
"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",
|
2020-04-25 20:53:45 +02:00
|
|
|
"src.wallet.cc_wallet",
|
2020-03-28 01:09:19 +01:00
|
|
|
"src.wallet.util",
|
2020-04-14 01:31:58 +02:00
|
|
|
"src.ssl",
|
2020-05-20 09:41:10 +02:00
|
|
|
"src.util.bip39",
|
2020-03-28 01:09:19 +01:00
|
|
|
],
|
2020-03-30 21:23:50 +02:00
|
|
|
scripts=[
|
|
|
|
"scripts/_chia-common",
|
2020-04-04 22:43:36 +02:00
|
|
|
"scripts/_chia-stop-wallet",
|
2020-03-30 21:23:50 +02:00
|
|
|
"scripts/chia-drop-db",
|
2020-04-08 11:04:46 +02:00
|
|
|
"scripts/chia-restart-harvester",
|
2020-03-30 21:23:50 +02:00
|
|
|
"scripts/chia-start-sim",
|
|
|
|
"scripts/chia-stop-all",
|
|
|
|
],
|
2020-03-27 20:17:34 +01:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
2020-04-24 23:23:37 +02:00
|
|
|
"chia = src.cmds.chia: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",
|
2020-04-09 19:23:28 +02:00
|
|
|
"chia-wallet = src.wallet.websocket_server:main",
|
|
|
|
"chia_full_node = src.server.start_full_node:main",
|
|
|
|
"chia_harvester = src.server.start_harvester:main",
|
|
|
|
"chia_farmer = src.server.start_farmer:main",
|
|
|
|
"chia_introducer = src.server.start_introducer:main",
|
|
|
|
"chia_timelord = src.server.start_timelord:main",
|
|
|
|
"chia_timelord_launcher = src.timelord_launcher:main",
|
|
|
|
"chia_full_node_simulator = src.simulator.start_simulator: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"],
|
2020-05-20 09:41:10 +02:00
|
|
|
"src.util.bip39": ["english.txt"],
|
2020-03-30 00:23:27 +02:00
|
|
|
},
|
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,
|
|
|
|
)
|
2020-04-01 02:39:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
setup(**kwargs)
|