Skip to content

Commit c682f39

Browse files
authored
Merge pull request #698 from branchvincent/classifiers
fix missing classifiers, migrate to flit
2 parents ab56dde + 2f75af0 commit c682f39

File tree

3 files changed

+21
-32
lines changed

3 files changed

+21
-32
lines changed

.github/workflows/e2e-subtensor-tests.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ jobs:
8484
with:
8585
python-version: 3.13
8686

87-
- name: install dependencies
88-
run: |
89-
uv venv .venv
90-
source .venv/bin/activate
91-
uv pip install .[dev]
92-
9387
- name: Download Cached Docker Image
9488
uses: actions/download-artifact@v4
9589
with:
@@ -100,5 +94,4 @@ jobs:
10094

10195
- name: Run tests
10296
run: |
103-
source .venv/bin/activate
10497
uv run pytest ${{ matrix.test-file }} -s

MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=70.0.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["flit_core >=3.11,<4"]
3+
build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "bittensor-cli"
@@ -10,9 +10,24 @@ readme = "README.md"
1010
authors = [
1111
{name = "bittensor.com"}
1212
]
13-
license = { file = "LICENSE" }
13+
license = "MIT"
1414
scripts = { btcli = "bittensor_cli.cli:main" }
15-
requires-python = ">=3.9,<3.15"
15+
requires-python = ">=3.9"
16+
classifiers = [
17+
"Development Status :: 5 - Production/Stable",
18+
"Intended Audience :: End Users/Desktop",
19+
"Programming Language :: Python :: 3 :: Only",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
26+
"Topic :: Scientific/Engineering",
27+
"Topic :: Scientific/Engineering :: Mathematics",
28+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
29+
"Topic :: Utilities"
30+
]
1631
dependencies = [
1732
"wheel",
1833
"async-substrate-interface>=1.5.2",
@@ -37,6 +52,8 @@ dependencies = [
3752
cuda = [
3853
"torch>=1.13.1,<3.0",
3954
]
55+
56+
[dependency-groups]
4057
dev = [
4158
"pytest",
4259
"pytest-asyncio",
@@ -47,23 +64,3 @@ dev = [
4764
# more details can be found here
4865
homepage = "https://github.com/opentensor/btcli"
4966
Repository = "https://github.com/opentensor/btcli"
50-
51-
[tool.flit.metadata]
52-
classifiers = [
53-
"Development Status :: 5 - Production/Stable",
54-
"Intended Audience :: End Users/Desktop",
55-
"License :: OSI Approved :: MIT License",
56-
"Programming Language :: Python :: 3 :: Only",
57-
"Programming Language :: Python :: 3.9",
58-
"Programming Language :: Python :: 3.10",
59-
"Programming Language :: Python :: 3.11",
60-
"Programming Language :: Python :: 3.12",
61-
"Topic :: Scientific/Engineering",
62-
"Topic :: Scientific/Engineering :: Mathematics",
63-
"Topic :: Scientific/Engineering :: Artificial Intelligence",
64-
"Topic :: Utilities"
65-
]
66-
67-
[tool.setuptools]
68-
package-dir = {"bittensor_cli" = "bittensor_cli"}
69-
include-package-data = true

0 commit comments

Comments
 (0)