2019-07-19 05:30:31 +02:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-01-13 14:19:53 +01:00
|
|
|
dependencies = [
|
2021-03-11 02:44:25 +01:00
|
|
|
"blspy==1.0", # Signature library
|
2021-03-11 10:08:15 +01:00
|
|
|
"chiavdf==1.0.1", # timelord and vdf verification
|
2021-03-04 03:14:16 +01:00
|
|
|
"chiabip158==1.0", # bip158-style wallet filters
|
2021-03-30 08:14:57 +02:00
|
|
|
"chiapos==1.0.0", # proof of space
|
2021-04-06 22:26:42 +02:00
|
|
|
"clvm==0.9.5",
|
|
|
|
"clvm_rs==0.1.5",
|
2021-03-03 23:12:04 +01:00
|
|
|
"clvm_tools==0.4.3",
|
2021-02-26 05:05:28 +01:00
|
|
|
"aiohttp==3.7.4", # HTTP server for full node rpc
|
2021-02-22 02:09:33 +01:00
|
|
|
"aiosqlite==0.17.0", # asyncio wrapper for sqlite, to store blocks
|
2020-06-24 23:30:58 +02:00
|
|
|
"bitstring==3.1.7", # Binary data management library
|
2021-03-24 00:42:50 +01:00
|
|
|
"colorlog==4.8.0", # Adds color to logs
|
2020-11-18 12:00:54 +01:00
|
|
|
"concurrent-log-handler==0.9.19", # Concurrently log and rotate logs
|
2021-03-25 22:58:54 +01:00
|
|
|
"cryptography==3.4.7", # Python cryptography library for TLS - keyring conflict
|
2021-03-30 08:11:44 +02:00
|
|
|
"keyring==23.0.1", # Store keys in MacOS Keychain, Windows Credential Locker
|
2020-12-22 19:07:35 +01:00
|
|
|
"keyrings.cryptfile==1.3.4", # Secure storage for keys on Linux (Will be replaced)
|
2021-03-09 22:43:57 +01:00
|
|
|
# "keyrings.cryptfile==1.3.8", # Secure storage for keys on Linux (Will be replaced)
|
|
|
|
# See https://github.com/frispete/keyrings.cryptfile/issues/15
|
2021-02-09 06:16:34 +01:00
|
|
|
"PyYAML==5.4.1", # Used for config file format
|
2021-01-30 02:45:34 +01:00
|
|
|
"setproctitle==1.2.2", # Gives the chia processes readable names
|
2020-11-10 06:31:50 +01:00
|
|
|
"sortedcontainers==2.3.0", # For maintaining sorted mempools
|
2020-06-24 23:30:58 +02:00
|
|
|
"websockets==8.1.0", # For use in wallet RPC and electron UI
|
2021-03-18 22:25:33 +01:00
|
|
|
"click==7.1.2", # For the CLI
|
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 = [
|
2021-03-10 00:30:51 +01: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",
|
2020-06-25 04:26:52 +02:00
|
|
|
"pytest-asyncio",
|
2019-11-18 05:50:31 +01:00
|
|
|
"flake8",
|
|
|
|
"mypy",
|
|
|
|
"black",
|
|
|
|
]
|
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",
|
2020-06-17 01:46:51 +02:00
|
|
|
description="Chia blockchain full node, farmer, timelord, and wallet.",
|
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(
|
2020-09-02 00:30:23 +02:00
|
|
|
uvloop=["uvloop"],
|
|
|
|
dev=dev_dependencies,
|
|
|
|
upnp=upnp_dependencies,
|
2020-04-01 02:39:42 +02:00
|
|
|
),
|
2020-03-28 01:09:19 +01:00
|
|
|
packages=[
|
2020-05-20 09:41:10 +02:00
|
|
|
"build_scripts",
|
2021-03-22 20:36:05 +01:00
|
|
|
"chia",
|
|
|
|
"chia.cmds",
|
|
|
|
"chia.consensus",
|
|
|
|
"chia.daemon",
|
|
|
|
"chia.full_node",
|
|
|
|
"chia.timelord",
|
|
|
|
"chia.farmer",
|
|
|
|
"chia.harvester",
|
|
|
|
"chia.introducer",
|
|
|
|
"chia.plotting",
|
|
|
|
"chia.protocols",
|
|
|
|
"chia.rpc",
|
|
|
|
"chia.server",
|
|
|
|
"chia.simulator",
|
|
|
|
"chia.types.blockchain_format",
|
|
|
|
"chia.types",
|
|
|
|
"chia.util",
|
|
|
|
"chia.wallet",
|
|
|
|
"chia.wallet.puzzles",
|
|
|
|
"chia.wallet.rl_wallet",
|
|
|
|
"chia.wallet.cc_wallet",
|
2021-04-07 04:31:44 +02:00
|
|
|
"chia.wallet.did_wallet",
|
2021-03-22 20:36:05 +01:00
|
|
|
"chia.wallet.settings",
|
|
|
|
"chia.wallet.trading",
|
|
|
|
"chia.wallet.util",
|
|
|
|
"chia.ssl",
|
2021-03-04 23:25:35 +01:00
|
|
|
"mozilla-ca",
|
2020-03-28 01:09:19 +01:00
|
|
|
],
|
2020-03-27 20:17:34 +01:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
2021-03-22 20:36:05 +01:00
|
|
|
"chia = chia.cmds.chia:main",
|
|
|
|
"chia_wallet = chia.server.start_wallet:main",
|
|
|
|
"chia_full_node = chia.server.start_full_node:main",
|
|
|
|
"chia_harvester = chia.server.start_harvester:main",
|
|
|
|
"chia_farmer = chia.server.start_farmer:main",
|
|
|
|
"chia_introducer = chia.server.start_introducer:main",
|
|
|
|
"chia_timelord = chia.server.start_timelord:main",
|
|
|
|
"chia_timelord_launcher = chia.timelord.timelord_launcher:main",
|
|
|
|
"chia_full_node_simulator = chia.simulator.start_simulator:main",
|
2020-03-27 20:17:34 +01:00
|
|
|
]
|
2020-01-23 06:19:47 +01:00
|
|
|
},
|
2021-03-04 02:26:26 +01:00
|
|
|
package_data={
|
2021-03-22 20:36:05 +01:00
|
|
|
"chia": ["pyinstaller.spec"],
|
|
|
|
"chia.wallet.puzzles": ["*.clvm", "*.clvm.hex"],
|
|
|
|
"chia.util": ["initial-*.yaml", "english.txt"],
|
|
|
|
"chia.ssl": ["chia_ca.crt", "chia_ca.key", "dst_root_ca.pem"],
|
2021-03-04 23:25:35 +01:00
|
|
|
"mozilla-ca": ["cacert.pem"],
|
2021-03-04 02:26:26 +01: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(),
|
2020-09-15 04:33:57 +02:00
|
|
|
long_description_content_type="text/markdown",
|
2019-07-19 05:30:31 +02:00
|
|
|
zip_safe=False,
|
|
|
|
)
|
2020-04-01 02:39:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
setup(**kwargs)
|