Open graceyangfan opened 3 months ago
its better to add a pyproject.toml for build the project like this:
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smm"
version = "0.1.0"
description = "smm"
readme = "README.md"
authors = [
{name = "your", email = "you email"}
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
# Network/IO
"aiosonic",
"aiohttp",
"aiofiles",
"uvloop",
"orjson",
"pyyaml",
# Compute
"numpy",
"numpy_ringbuffer",
"numba",
# Misc
"ciso8601",
# DEX signing
"msgpack",
"eth_account",
"eth_utils",
# Official SDKs
"dydx-v4-client"
]
[tool.setuptools.packages.find]
where = ["."]
include = ["*"]
exclude = ["tests*"]
namespaces = true
[tool.setuptools]
include-package-data = true
will do! thanks :D
when running meet this: