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-08-11 20:44:33 +02:00
" blspy==0.2.3 " , # Signature library
2020-07-27 20:48:54 +02:00
" chiavdf==0.12.24 " , # timelord and vdf verification
2020-07-23 05:42:55 +02:00
" chiabip158==0.16 " , # bip158-style wallet filters
2020-08-22 00:46:31 +02:00
" chiapos==0.12.26 " , # proof of space
2020-08-13 00:41:59 +02:00
" clvm==0.4.1 " , # contract language
2020-08-05 02:19:34 +02:00
" clvm-tools==0.1.4 " , # clvm compiler tools
2020-06-24 23:30:58 +02:00
" aiohttp==3.6.2 " , # HTTP server for full node rpc
2020-08-22 00:46:31 +02:00
" aiosqlite@git+https://github.com/mariano54/aiosqlite.git@28cb5754deec562ac931da8fca799fb82df97a12#egg=aiosqlite " , # asyncio wrapper for sqlite, to store blocks
2020-06-24 23:30:58 +02:00
" bitstring==3.1.7 " , # Binary data management library
2020-08-05 00:44:37 +02:00
" cbor2==5.1.2 " , # Used for network wire format
2020-08-04 09:39:53 +02:00
" colorlog==4.2.1 " , # Adds color to logs
2020-06-24 23:30:58 +02:00
" concurrent-log-handler==0.9.16 " , # Concurrently log and rotate logs
2020-08-27 07:00:20 +02:00
" cryptography==3.1 " , #Python cryptography library for TLS
2020-09-01 09:38:25 +02:00
" keyring==21.4.0 " , # Store keys in MacOS Keychain, Windows Credential Locker
2020-06-24 23:30:58 +02:00
" keyrings.cryptfile==1.3.4 " , # Secure storage for keys on Linux (Will be replaced)
" PyYAML==5.3.1 " , # Used for config file format
" sortedcontainers==2.2.2 " , # For maintaining sorted mempools
" websockets==8.1.0 " , # For use in wallet RPC and electron UI
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 " ,
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 (
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-06-30 17:19:59 +02:00
" src.wallet.trading " ,
2020-04-14 01:31:58 +02:00
" src.ssl " ,
2020-03-28 01:09:19 +01:00
] ,
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-07-25 05:46:18 +02:00
" chia_wallet = src.server.start_wallet:main " ,
2020-04-09 19:23:28 +02: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 " ,
" 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 = {
2020-05-26 00:38:42 +02:00
" src.util " : [ " initial-*.yaml " , " english.txt " ] ,
2020-03-30 00:23:27 +02:00
" src.server " : [ " dummy.crt " , " dummy.key " ] ,
} ,
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 )