@@ -68,10 +68,10 @@ The project supports independent release workflows for agent and simunet:
6868
6969``` bash
7070# Update agent version in pyproject.toml (optional, will be updated by workflow)
71- sed -i ' s/^version = ".*"/version = "1.0.0"/' projects /agent/pyproject.toml
71+ sed -i ' s/^version = ".*"/version = "1.0.0"/' packages /agent/pyproject.toml
7272
7373# Commit version changes (optional)
74- git add projects /agent/pyproject.toml
74+ git add packages /agent/pyproject.toml
7575git commit -m " chore: bump agent version to 1.0.0"
7676
7777# Create and push agent tag
@@ -98,10 +98,10 @@ git push origin agent-1.0.0
9898
9999``` bash
100100# Update simunet version in pyproject.toml (optional, will be updated by workflow)
101- sed -i ' s/^version = ".*"/version = "2.5.0"/' projects /simunet/pyproject.toml
101+ sed -i ' s/^version = ".*"/version = "2.5.0"/' packages /simunet/pyproject.toml
102102
103103# Commit version changes (optional)
104- git add projects /simunet/pyproject.toml
104+ git add packages /simunet/pyproject.toml
105105git commit -m " chore: bump simunet version to 2.5.0"
106106
107107# Create and push simunet tag
@@ -165,13 +165,13 @@ Use this when you only need to release the agent:
1651651 . ** Update version number** (optional):
166166
167167 ``` bash
168- sed -i ' s/^version = ".*"/version = "1.0.0"/' projects /agent/pyproject.toml
168+ sed -i ' s/^version = ".*"/version = "1.0.0"/' packages /agent/pyproject.toml
169169 ```
170170
1711712 . ** Commit changes** (optional):
172172
173173 ``` bash
174- git add projects /agent/pyproject.toml
174+ git add packages /agent/pyproject.toml
175175 git commit -m " chore: bump agent version to 1.0.0"
176176 git push origin master
177177 ```
@@ -197,13 +197,13 @@ Use this when you need to release simunet:
1971971 . ** Update version number** (optional):
198198
199199 ``` bash
200- sed -i ' s/^version = ".*"/version = "2.5.0"/' projects /simunet/pyproject.toml
200+ sed -i ' s/^version = ".*"/version = "2.5.0"/' packages /simunet/pyproject.toml
201201 ```
202202
2032032 . ** Commit changes** (optional):
204204
205205 ``` bash
206- git add projects /simunet/pyproject.toml
206+ git add packages /simunet/pyproject.toml
207207 git commit -m " chore: bump simunet version to 2.5.0"
208208 git push origin master
209209 ```
@@ -235,8 +235,8 @@ To test publishing before official release:
2352352 . ** Or use CLI** :
236236
237237 ``` bash
238- uv publish --directory projects /agent --publish-url https://test.pypi.org/legacy/ --token $TESTPYPI_TOKEN
239- uv publish --directory projects /simunet --publish-url https://test.pypi.org/legacy/ --token $TESTPYPI_TOKEN
238+ uv publish --directory packages /agent --publish-url https://test.pypi.org/legacy/ --token $TESTPYPI_TOKEN
239+ uv publish --directory packages /simunet --publish-url https://test.pypi.org/legacy/ --token $TESTPYPI_TOKEN
240240 ```
241241
2422423 . ** Verify on TestPyPI** :
@@ -413,7 +413,7 @@ jobs:
413413 - uses : astral-sh/setup-uv@v4
414414 - run : uv python install
415415 - run : uv sync
416- - run : uv build --directory projects /agent
416+ - run : uv build --directory packages /agent
417417` ` `
418418
419419**Benefits of using Docker image**:
@@ -452,7 +452,7 @@ netdriver/
452452│ ├── agent/ # REST API service
453453│ └── simunet/ # Simulation network
454454├── components/ # Shared components
455- └── projects /
455+ └── packages /
456456 ├── agent/
457457 │ └── pyproject.toml
458458 └── simunet/
@@ -498,5 +498,5 @@ uv is pre-installed, so you can use it directly:
498498# # References
499499
500500- [uv Documentation](https://docs.astral.sh/uv/)
501- - [PyPI Publishing Guide](https://packaging.python.org/tutorials/packaging-projects /)
501+ - [PyPI Publishing Guide](https://packaging.python.org/tutorials/packaging-packages /)
502502- [GitHub Actions - Python](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python)
0 commit comments