Skip to content

Commit 1ff3548

Browse files
committed
fix for pypi release
1 parent 23e1c98 commit 1ff3548

File tree

2 files changed

+41
-4
lines changed

2 files changed

+41
-4
lines changed

dev_tools/publish.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The --bump option supports the following common version components: major, minor, patch, stable, alpha, beta, rc, post, and dev. When provided more than once, the components will be applied in order, from largest (major) to smallest (dev).
2+
3+
```bash
4+
uv version --bump patch
5+
```
6+
7+
```bash
8+
uv build --no-sources
9+
```
10+
11+
```bash
12+
uv publish --index testpypi
13+
```
14+
15+
16+
Install from testpypi with
17+
18+
```bash
19+
uv pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple asyncio-for-robotics[dev,build,zenoh]
20+
```

pyproject.toml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
1+
[build-system]
2+
requires = ["setuptools >= 77.0.3"]
3+
build-backend = "setuptools.build_meta"
4+
15
[tool.setuptools.packages.find]
26
include = ["asyncio_for_robotics", "asyncio_for_robotics.*"]
37

48
[project]
59
name = "asyncio_for_robotics"
6-
version = "0.1.0"
7-
description = "Asyncio interface for ROS 2, Zenoh, and other robotics middleware."
10+
version = "1.0.0"
11+
description = "Asyncio interface for ROS 2, Zenoh, and other robotic middlewares."
812
readme = "README.md"
913
license = "MIT"
1014
authors = [
1115
{ name = "Elian", email = "no@no.com" }
1216
]
13-
requires-python = ">=3.8"
17+
requires-python = ">=3.10"
1418
keywords = ["asyncio", "robotics", "ros2", "zenoh", "publisher", "subcriber"]
1519

1620
classifiers = [
21+
"Development Status :: 4 - Beta",
22+
"Intended Audience :: Science/Research",
23+
"Natural Language :: English",
1724
"Programming Language :: Python :: 3",
1825
"Operating System :: POSIX :: Linux",
19-
"Topic :: Scientific/Engineering :: Robotics",
26+
"Topic :: Scientific/Engineering",
27+
"Topic :: Software Development :: Embedded Systems",
28+
"Topic :: System :: Networking",
29+
"Framework :: AsyncIO",
2030
]
2131

2232
dependencies = [
@@ -27,6 +37,7 @@ dependencies = [
2737
[project.optional-dependencies]
2838
zenoh = ["eclipse-zenoh>=1.0.0"]
2939
dev = ["colorama", "pytest", "pytest-asyncio", "pyfiglet", "uvloop"]
40+
build = ["build", "twine"]
3041

3142
[project.urls]
3243
Homepage = "https://github.com/2lian/asyncio-for-robotics"
@@ -35,3 +46,9 @@ Issues = "https://github.com/yourusername/asyncio-for-robotics/issues"
3546

3647
[tool.setuptools.package-data]
3748
"asyncio_for_robotics" = ["py.typed"]
49+
50+
[[tool.uv.index]]
51+
name = "testpypi"
52+
url = "https://test.pypi.org/simple/"
53+
publish-url = "https://test.pypi.org/legacy/"
54+
explicit = true

0 commit comments

Comments
 (0)