chia-blockchain/setup.py

104 lines
3.5 KiB
Python
Raw Normal View History

from setuptools import setup
dependencies = [
"aiter==0.13.20191203", # Used for async generator tools
2021-02-06 10:21:13 +03:00
"blspy==0.3.5", # Signature library
"chiavdf==0.15.0", # timelord and vdf verification
2021-02-06 10:21:13 +03:00
"chiabip158==0.19", # bip158-style wallet filters
2021-02-18 00:18:13 +03:00
"chiapos==0.12.44", # proof of space
2021-02-09 05:15:41 +03:00
"clvm==0.8.0",
"clvm_rs==0.1.2",
"clvm_tools==0.3.1",
2020-11-18 23:08:12 +03:00
"aiohttp==3.7.3", # HTTP server for full node rpc
2021-01-21 08:49:52 +03:00
"aiosqlite@git+https://github.com/mariano54/aiosqlite.git@47c7b21dd04adb1d41073ee9911a9d4b9c4b370f#egg=aiosqlite",
# asyncio wrapper for sqlite, to store blocks
"bitstring==3.1.7", # Binary data management library
"colorlog==4.7.2", # Adds color to logs
"concurrent-log-handler==0.9.19", # Concurrently log and rotate logs
# "cryptography==3.4.1", # Python cryptography library for TLS - keyring conflict
"cryptography==3.3.2", # Python cryptography library for TLS
"keyring==21.5.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)
"PyYAML==5.4.1", # Used for config file format
"setproctitle==1.2.2", # Gives the chia processes readable names
"sortedcontainers==2.3.0", # For maintaining sorted mempools
"websockets==8.1.0", # For use in wallet RPC and electron UI
]
upnp_dependencies = [
2020-12-10 22:55:59 +03:00
"miniupnpc==2.0.2", # Allows users to open ports on their router
]
2019-11-18 07:50:31 +03:00
dev_dependencies = [
"pytest",
"pytest-asyncio",
2019-11-18 07:50:31 +03:00
"flake8",
"mypy",
"black",
]
kwargs = dict(
name="chia-blockchain",
2019-11-18 07:50:31 +03:00
author="Mariano Sorgente",
author_email="mariano@chia.net",
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,
setup_requires=["setuptools_scm"],
extras_require=dict(
uvloop=["uvloop"],
dev=dev_dependencies,
upnp=upnp_dependencies,
),
2020-03-28 03:09:19 +03:00
packages=[
Electron react (#226) * clean react * add material ui * add word list * mnemonic v0 * jeepney backup * keychain usage * wallet api * mnemonic ui * mnemonics redux state * handle exceptions correctly * dashboard * wallets * get puzzle hash * tx history * sidebar * start stop wallet node * use existing mnemonics * status info * create cc wallet * theme should be outside of switch * create offer * dbus alternative for linux * key migration * don't autocomplete, don't reset simulator db * reset mnemonics * Refactor keychain, and key migration * Implement UI for changing keys * Removing keys and mnemonic button * Start making farmer and harvester RPCs * start rpx for simulator * Harvester and farmer websocket, and basic UI * Plot display and deletion * launch daemon on start * State changes from full node, harvester, farmer, and full node ui improvements * split balances in react * pending change balance * plotter * dev config * maintain connection / retry * Remove electron-ui, and style fixes * Better farmer and full node control * Remove electron ui references * Uncomment out starting the dameon * Remove timelord tab, and change full node style * Clean up new wallet login * Refactor RPCs * Now that the GH runner uses python 3.7.7 - use for windows installer * add balance split to coloured coin wallet * spendable balance fix * Import private key from UI fix * mac build/installer Co-authored-by: Mariano Sorgente <sorgente711@gmail.com> Co-authored-by: Lipa Long <lipa@chia.net> Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2020-05-20 10:41:10 +03:00
"build_scripts",
2020-03-28 03:09:19 +03:00
"src",
"src.cmds",
"src.consensus",
"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",
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",
"chia_wallet = src.server.start_wallet: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",
2020-12-10 22:36:25 +03:00
"chia_timelord_launcher = src.timelord.timelord_launcher:main",
"chia_full_node_simulator = src.simulator.start_simulator:main",
2020-03-27 22:17:34 +03:00
]
},
package_data={"src.util": ["initial-*.yaml", "english.txt"], "src.ssl": ["chia_ca.crt", "chia_ca.key"]},
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(),
long_description_content_type="text/markdown",
zip_safe=False,
)
if __name__ == "__main__":
setup(**kwargs)