2019-07-19 06:30:31 +03:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-01-13 16:19:53 +03:00
|
|
|
dependencies = [
|
2020-03-30 22:00:13 +03:00
|
|
|
"aiter==0.13.20191203", # Used for async generator tools
|
2021-03-11 04:44:25 +03:00
|
|
|
"blspy==1.0", # Signature library
|
2021-03-11 12:08:15 +03:00
|
|
|
"chiavdf==1.0.1", # timelord and vdf verification
|
2021-03-04 05:14:16 +03:00
|
|
|
"chiabip158==1.0", # bip158-style wallet filters
|
2021-03-04 12:14:08 +03:00
|
|
|
"chiapos==0.9", # proof of space
|
2021-03-04 11:54:03 +03:00
|
|
|
"clvm==0.9.4",
|
2021-03-04 01:12:04 +03:00
|
|
|
"clvm_rs==0.1.4",
|
|
|
|
"clvm_tools==0.4.3",
|
2021-02-26 07:05:28 +03:00
|
|
|
"aiohttp==3.7.4", # HTTP server for full node rpc
|
2021-02-22 04:09:33 +03:00
|
|
|
"aiosqlite==0.17.0", # asyncio wrapper for sqlite, to store blocks
|
2020-06-25 00:30:58 +03:00
|
|
|
"bitstring==3.1.7", # Binary data management library
|
2021-01-15 02:18:15 +03:00
|
|
|
"colorlog==4.7.2", # Adds color to logs
|
2020-11-18 14:00:54 +03:00
|
|
|
"concurrent-log-handler==0.9.19", # Concurrently log and rotate logs
|
2021-03-10 00:43:57 +03:00
|
|
|
"cryptography==3.4.6", # Python cryptography library for TLS - keyring conflict
|
2021-03-10 02:30:51 +03:00
|
|
|
"keyring==23.0", # Store keys in MacOS Keychain, Windows Credential Locker
|
2020-12-22 21:07:35 +03:00
|
|
|
"keyrings.cryptfile==1.3.4", # Secure storage for keys on Linux (Will be replaced)
|
2021-03-10 00:43:57 +03: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 08:16:34 +03:00
|
|
|
"PyYAML==5.4.1", # Used for config file format
|
2021-01-30 04:45:34 +03:00
|
|
|
"setproctitle==1.2.2", # Gives the chia processes readable names
|
2020-11-10 08:31:50 +03:00
|
|
|
"sortedcontainers==2.3.0", # For maintaining sorted mempools
|
2020-06-25 00:30:58 +03:00
|
|
|
"websockets==8.1.0", # For use in wallet RPC and electron UI
|
2021-03-17 19:52:00 +03:00
|
|
|
"click@https://github.com/Chia-Network/click/tarball/master#egg=package-1.0", # For the CLI
|
2020-01-13 16:19:53 +03:00
|
|
|
]
|
2020-03-30 22:00:13 +03:00
|
|
|
|
2020-03-31 03:46:08 +03:00
|
|
|
upnp_dependencies = [
|
2021-03-10 02:30:51 +03:00
|
|
|
"miniupnpc==2.1", # Allows users to open ports on their router
|
2020-03-31 03:46:08 +03:00
|
|
|
]
|
2019-11-18 07:50:31 +03:00
|
|
|
dev_dependencies = [
|
|
|
|
"pytest",
|
2020-06-25 05:26:52 +03:00
|
|
|
"pytest-asyncio",
|
2019-11-18 07:50:31 +03:00
|
|
|
"flake8",
|
|
|
|
"mypy",
|
|
|
|
"black",
|
|
|
|
]
|
2019-07-19 06:30:31 +03:00
|
|
|
|
2020-04-01 03:39:42 +03:00
|
|
|
kwargs = dict(
|
2020-03-30 22:23:50 +03:00
|
|
|
name="chia-blockchain",
|
2019-11-18 07:50:31 +03:00
|
|
|
author="Mariano Sorgente",
|
|
|
|
author_email="mariano@chia.net",
|
2020-06-17 02:46:51 +03:00
|
|
|
description="Chia blockchain full node, farmer, timelord, and wallet.",
|
2020-04-19 22:34:15 +03:00
|
|
|
url="https://chia.net/",
|
2019-11-18 07:50:31 +03:00
|
|
|
license="Apache License",
|
|
|
|
python_requires=">=3.7, <4",
|
|
|
|
keywords="chia blockchain node",
|
2020-03-27 22:17:34 +03:00
|
|
|
install_requires=dependencies,
|
2019-12-09 15:29:37 +03:00
|
|
|
setup_requires=["setuptools_scm"],
|
2020-04-01 03:39:42 +03:00
|
|
|
extras_require=dict(
|
2020-09-02 01:30:23 +03:00
|
|
|
uvloop=["uvloop"],
|
|
|
|
dev=dev_dependencies,
|
|
|
|
upnp=upnp_dependencies,
|
2020-04-01 03:39:42 +03:00
|
|
|
),
|
2020-03-28 03:09:19 +03:00
|
|
|
packages=[
|
2020-05-20 10:41:10 +03:00
|
|
|
"build_scripts",
|
2020-03-28 03:09:19 +03:00
|
|
|
"src",
|
|
|
|
"src.cmds",
|
|
|
|
"src.consensus",
|
2020-05-15 00:27:51 +03:00
|
|
|
"src.daemon",
|
2020-03-28 03:09:19 +03:00
|
|
|
"src.full_node",
|
2020-12-10 19:34:56 +03:00
|
|
|
"src.timelord",
|
|
|
|
"src.farmer",
|
|
|
|
"src.harvester",
|
|
|
|
"src.introducer",
|
2020-03-28 03:09:19 +03:00
|
|
|
"src.protocols",
|
|
|
|
"src.rpc",
|
|
|
|
"src.server",
|
2020-03-30 01:23:27 +03:00
|
|
|
"src.simulator",
|
2020-03-28 03:09:19 +03:00
|
|
|
"src.types",
|
|
|
|
"src.util",
|
|
|
|
"src.wallet",
|
|
|
|
"src.wallet.puzzles",
|
|
|
|
"src.wallet.rl_wallet",
|
2020-04-25 21:53:45 +03:00
|
|
|
"src.wallet.cc_wallet",
|
2020-03-28 03:09:19 +03:00
|
|
|
"src.wallet.util",
|
2020-06-30 18:19:59 +03:00
|
|
|
"src.wallet.trading",
|
2020-04-14 02:31:58 +03:00
|
|
|
"src.ssl",
|
2021-03-05 01:25:35 +03:00
|
|
|
"mozilla-ca",
|
2020-03-28 03:09:19 +03:00
|
|
|
],
|
2020-03-27 22:17:34 +03:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
2020-04-25 00:23:37 +03:00
|
|
|
"chia = src.cmds.chia:main",
|
2020-07-25 06:46:18 +03:00
|
|
|
"chia_wallet = src.server.start_wallet:main",
|
2020-04-09 20:23:28 +03:00
|
|
|
"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",
|
2020-12-10 22:36:25 +03:00
|
|
|
"chia_timelord_launcher = src.timelord.timelord_launcher:main",
|
2020-04-09 20:23:28 +03:00
|
|
|
"chia_full_node_simulator = src.simulator.start_simulator:main",
|
2020-03-27 22:17:34 +03:00
|
|
|
]
|
2020-01-23 08:19:47 +03:00
|
|
|
},
|
2021-03-04 04:26:26 +03:00
|
|
|
package_data={
|
|
|
|
"src.util": ["initial-*.yaml", "english.txt"],
|
|
|
|
"src.ssl": ["chia_ca.crt", "chia_ca.key", "dst_root_ca.pem"],
|
2021-03-05 01:25:35 +03:00
|
|
|
"mozilla-ca": ["cacert.pem"],
|
2021-03-04 04:26:26 +03:00
|
|
|
},
|
2019-12-14 01:57:51 +03:00
|
|
|
use_scm_version={"fallback_version": "unknown-no-.git-directory"},
|
2019-11-13 10:25:42 +03:00
|
|
|
long_description=open("README.md").read(),
|
2020-09-15 05:33:57 +03:00
|
|
|
long_description_content_type="text/markdown",
|
2019-07-19 06:30:31 +03:00
|
|
|
zip_safe=False,
|
|
|
|
)
|
2020-04-01 03:39:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
setup(**kwargs)
|