Skip to content

Commit ef7da10

Browse files
authored
Merge pull request #2504 from opentensor/feat/thewhaleking/pyproject-toml
Change to pyproject.toml
2 parents ea913ce + 85d6024 commit ef7da10

File tree

2 files changed

+96
-85
lines changed

2 files changed

+96
-85
lines changed

pyproject.toml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
[build-system]
2+
requires = ["setuptools~=70.0.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "bittensor"
7+
version = "9.0.3"
8+
description = "Bittensor"
9+
readme = "README.md"
10+
authors = [
11+
{name = "bittensor.com"}
12+
]
13+
license = { file = "LICENSE" }
14+
requires-python = ">=3.9,<3.13"
15+
dependencies = [
16+
"wheel",
17+
"setuptools~=70.0.0",
18+
"aiohttp~=3.9",
19+
"asyncstdlib~=3.13.0",
20+
"colorama~=0.4.6",
21+
"fastapi~=0.110.1",
22+
"munch~=2.5.0",
23+
"numpy~=2.0.1",
24+
"msgpack-numpy-opentensor~=0.5.0",
25+
"nest_asyncio",
26+
"netaddr",
27+
"packaging",
28+
"python-statemachine~=2.1",
29+
"pycryptodome>=3.18.0,<4.0.0",
30+
"pyyaml",
31+
"retry",
32+
"requests",
33+
"rich",
34+
"pydantic>=2.3, <3",
35+
"python-Levenshtein",
36+
"scalecodec==1.2.11",
37+
"uvicorn",
38+
"websockets>=14.1",
39+
"bittensor-commit-reveal>=0.2.0",
40+
"bittensor-wallet>=3.0.4",
41+
"async-substrate-interface>=1.0.4"
42+
]
43+
44+
[project.optional-dependencies]
45+
dev = [
46+
"pytest==7.2.0",
47+
"pytest-asyncio==0.23.7",
48+
"pytest-mock==3.12.0",
49+
"pytest-split==0.8.0",
50+
"pytest-xdist==3.0.2",
51+
"pytest-rerunfailures==10.2",
52+
"coveralls==3.3.1",
53+
"pytest-cov==4.0.0",
54+
"ddt==1.6.0",
55+
"hypothesis==6.81.1",
56+
"flake8==7.0.0",
57+
"mypy==1.8.0",
58+
"types-retry==0.9.9.4",
59+
"freezegun==1.5.0",
60+
"httpx==0.27.0",
61+
"ruff==0.4.7",
62+
"aioresponses==0.7.6",
63+
"factory-boy==3.3.0",
64+
"types-requests",
65+
"torch>=1.13.1,<2.6.0"
66+
]
67+
torch = [
68+
"torch>=1.13.1,<2.6.0"
69+
]
70+
71+
[project.urls]
72+
# more details can be found here
73+
homepage = "https://github.com/opentensor/bittensor"
74+
Repository = "https://github.com/opentensor/bittensor"
75+
76+
[tool.flit.metadata]
77+
classifiers = [
78+
"Development Status :: 5 - Production/Stable",
79+
"Intended Audience :: Developers",
80+
"License :: OSI Approved :: MIT License",
81+
"Programming Language :: Python :: 3 :: Only",
82+
"Programming Language :: Python :: 3.9",
83+
"Programming Language :: Python :: 3.10",
84+
"Programming Language :: Python :: 3.11",
85+
"Programming Language :: Python :: 3.12",
86+
"Topic :: Scientific/Engineering",
87+
"Topic :: Scientific/Engineering :: Mathematics",
88+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
89+
"Topic :: Software Development",
90+
"Topic :: Software Development :: Libraries",
91+
"Topic :: Software Development :: Libraries :: Python Modules"
92+
]
93+
94+
[tool.setuptools]
95+
package-dir = {"bittensor" = "bittensor"}
96+
script-files = ["bittensor/utils/certifi.sh"]

setup.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)