-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
160 lines (152 loc) · 6.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
from __future__ import annotations
import os
from setuptools import setup
dependencies = [
"aiofiles==22.1.0", # Async IO for files
"blspy==1.0.16", # Signature library
"chiavdf==1.0.8", # timelord and vdf verification
"chiabip158==1.1", # bip158-style wallet filters
"chiapos==1.0.11", # proof of space
"clvm==0.9.7",
"clvm_tools==0.4.6", # Currying, Program.to, other conveniences
"chia_rs==0.1.14",
"clvm-tools-rs==0.1.25", # Rust implementation of clvm_tools' compiler
"aiohttp==3.8.3", # HTTP server for full node rpc
"aiosqlite==0.17.0", # asyncio wrapper for sqlite, to store blocks
"bitstring==3.1.9", # Binary data management library
"colorama==0.4.5", # Colorizes terminal output
"colorlog==6.7.0", # Adds color to logs
"concurrent-log-handler==0.9.20", # Concurrently log and rotate logs
"cryptography==38.0.3", # Python cryptography library for TLS - keyring conflict
"filelock==3.8.0", # For reading and writing config multiprocess and multithread safely (non-reentrant locks)
"keyring==23.9.3", # Store keys in MacOS Keychain, Windows Credential Locker
"keyrings.cryptfile==1.3.4", # Secure storage for keys on Linux (Will be replaced)
# "keyrings.cryptfile==1.3.8", # Secure storage for keys on Linux (Will be replaced)
# See https://github.com/frispete/keyrings.cryptfile/issues/15
"PyYAML==6.0", # Used for config file format
"setproctitle==1.2.3", # Gives the littlelambocoin processes readable names
"sortedcontainers==2.4.0", # For maintaining sorted mempools
"click==8.1.3", # For the CLI
"dnspython==2.2.1", # Query DNS seeds
"watchdog==2.1.9", # Filesystem event watching - watches keyring.yaml
"dnslib==0.9.23", # dns lib
"typing-extensions==4.4.0", # typing backports like Protocol and TypedDict
"zstd==1.5.2.6",
"packaging==21.3",
"psutil==5.9.1",
]
upnp_dependencies = [
"miniupnpc==2.2.2", # Allows users to open ports on their router
]
dev_dependencies = [
"build",
"coverage",
"diff-cover",
"pre-commit",
"py3createtorrent",
"pylint",
"pytest",
"pytest-asyncio>=0.18.1", # require attribute 'fixture'
"pytest-cov",
"pytest-monitor; sys_platform == 'linux'",
"pytest-xdist",
"twine",
"isort",
"flake8",
"mypy",
"black==22.10.0",
"aiohttp_cors", # For blackd
"ipython", # For asyncio debugging
"pyinstaller==5.3",
"types-aiofiles",
"types-cryptography",
"types-pkg_resources",
"types-pyyaml",
"types-setuptools",
]
kwargs = dict(
name="littlelambocoin-blockchain",
author="Mariano Sorgente",
author_email="mariano@littlelambocoin.com",
description="Littlelambocoin blockchain full node, farmer, timelord, and wallet.",
url="https://littlelambocoin.com/",
license="Apache License",
python_requires=">=3.7, <4",
keywords="littlelambocoin blockchain node",
install_requires=dependencies,
extras_require=dict(
dev=dev_dependencies,
upnp=upnp_dependencies,
),
packages=[
"build_scripts",
"littlelambocoin",
"littlelambocoin.cmds",
"littlelambocoin.clvm",
"littlelambocoin.consensus",
"littlelambocoin.daemon",
"littlelambocoin.data_layer",
"littlelambocoin.full_node",
"littlelambocoin.timelord",
"littlelambocoin.farmer",
"littlelambocoin.harvester",
"littlelambocoin.introducer",
"littlelambocoin.plot_sync",
"littlelambocoin.plotters",
"littlelambocoin.plotting",
"littlelambocoin.pools",
"littlelambocoin.protocols",
"littlelambocoin.rpc",
"littlelambocoin.seeder",
"littlelambocoin.server",
"littlelambocoin.simulator",
"littlelambocoin.types.blockchain_format",
"littlelambocoin.types",
"littlelambocoin.util",
"littlelambocoin.wallet",
"littlelambocoin.wallet.db_wallet",
"littlelambocoin.wallet.puzzles",
"littlelambocoin.wallet.cat_wallet",
"littlelambocoin.wallet.did_wallet",
"littlelambocoin.wallet.nft_wallet",
"littlelambocoin.wallet.settings",
"littlelambocoin.wallet.trading",
"littlelambocoin.wallet.util",
"littlelambocoin.ssl",
"mozilla-ca",
],
entry_points={
"console_scripts": [
"littlelambocoin = littlelambocoin.cmds.littlelambocoin:main",
"littlelambocoin_daemon = littlelambocoin.daemon.server:main",
"littlelambocoin_wallet = littlelambocoin.server.start_wallet:main",
"littlelambocoin_full_node = littlelambocoin.server.start_full_node:main",
"littlelambocoin_harvester = littlelambocoin.server.start_harvester:main",
"littlelambocoin_farmer = littlelambocoin.server.start_farmer:main",
"littlelambocoin_introducer = littlelambocoin.server.start_introducer:main",
"littlelambocoin_crawler = littlelambocoin.seeder.start_crawler:main",
"littlelambocoin_seeder = littlelambocoin.seeder.dns_server:main",
"littlelambocoin_timelord = littlelambocoin.server.start_timelord:main",
"littlelambocoin_timelord_launcher = littlelambocoin.timelord.timelord_launcher:main",
"littlelambocoin_full_node_simulator = littlelambocoin.simulator.start_simulator:main",
"littlelambocoin_data_layer = littlelambocoin.server.start_data_layer:main",
"littlelambocoin_data_layer_http = littlelambocoin.data_layer.data_layer_server:main",
]
},
package_data={
"littlelambocoin": ["pyinstaller.spec"],
"": ["*.clvm", "*.clvm.hex", "*.clib", "*.clinc", "*.clsp", "py.typed"],
"littlelambocoin.util": ["initial-*.yaml", "english.txt"],
"littlelambocoin.ssl": ["littlelambocoin_ca.crt", "littlelambocoin_ca.key", "dst_root_ca.pem"],
"mozilla-ca": ["cacert.pem"],
},
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
zip_safe=False,
project_urls={
"Source": "https://github.com/BTCgreen-Network/littlelambocoin-blockchain/",
"Changelog": "https://github.com/BTCgreen-Network/littlelambocoin-blockchain/blob/main/CHANGELOG.md",
},
)
if len(os.environ.get("LITTLELAMBOCOIN_SKIP_SETUP", "")) < 1:
setup(**kwargs) # type: ignore