xch-blockchain/setup.py

110 lines
3.4 KiB
Python
Raw Normal View History

from setuptools import setup
dependencies = [
"aiter==0.13.20191203", # Used for async generator tools
"blspy==0.1.27", # Signature library
2020-04-17 22:35:13 +02:00
"cbor2==5.1.0", # Used for network wire format
"clvm==0.4", # contract language
"PyYAML==5.3.1", # Used for config file format
"aiosqlite==0.13.0", # asyncio wrapper for sqlite, to store blocks
"aiohttp==3.6.2", # HTTP server for full node rpc
"colorlog==4.1.0", # Adds color to logs
"chiavdf==0.12.16", # timelord and vdf verification
2020-04-24 05:05:00 +02:00
"chiabip158==0.14", # bip158-style wallet filters
"chiapos==0.12.18", # proof of space
"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
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 09:41:10 +02:00
"bitstring==3.1.6",
"keyring==21.2.1",
"keyring_jeepney==0.2",
"keyrings.cryptfile==1.3.4",
"cryptography==2.9.2", #Python cryptography library for TLS
]
upnp_dependencies = [
"miniupnpc==2.1", # Allows users to open ports on their router
]
2019-11-18 05:50:31 +01:00
dev_dependencies = [
"pytest",
"flake8",
"mypy",
"isort",
"autoflake",
"black",
"pytest-asyncio",
2019-11-18 05:50:31 +01:00
]
kwargs = dict(
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,
setup_requires=["setuptools_scm"],
extras_require=dict(
uvloop=["uvloop"], dev=dev_dependencies, upnp=upnp_dependencies,
),
2020-03-28 01:09:19 +01: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 09:41:10 +02:00
"build_scripts",
2020-03-28 01:09:19 +01:00
"src",
"src.cmds",
"src.consensus",
"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",
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 09:41:10 +02:00
"src.util.bip39",
2020-03-28 01:09:19 +01:00
],
scripts=[
"scripts/_chia-common",
2020-04-04 22:43:36 +02:00
"scripts/_chia-stop-wallet",
"scripts/chia-drop-db",
2020-04-08 11:04:46 +02:00
"scripts/chia-restart-harvester",
"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",
"chia-check-plots = src.cmds.check_plots:main",
"chia-create-plots = src.cmds.create_plots:main",
"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-03-30 00:23:27 +02:00
package_data={
"src.util": ["initial-*.yaml"],
"src.server": ["dummy.crt", "dummy.key"],
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 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(),
zip_safe=False,
)
if __name__ == "__main__":
setup(**kwargs)