Use pyproject.toml#432
Conversation
81c3408 to
225166d
Compare
| ubuntu_version: [22.04] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: |
There was a problem hiding this comment.
workflow test succeeded!
I tested this workflow runs well and successfully published to testpypi with tag: 0.2.0.dev260115 with the DRAFT.
pr: #439
workflow: https://github.com/Samsung/TICO/actions/runs/21028314000
testpypi deployment
https://test.pypi.org/project/tico/0.2.0.dev260115/
e712e36 to
2338f14
Compare
Let's use pyproject.toml. This change also includes.. - bump version to 0.2.0 and tag nightly as 0.2.0.devYYMMDD - use versioiningit pypi tool to generate dev tag TICO-DCO-1.0-Signed-off-by: Dayoung Lee <dayoung.lee@samsung.com>
| # Distribution | ||
| build/ | ||
| dist/ | ||
| */_version.py |
There was a problem hiding this comment.
This will be produced by versioningit while building package (./ccex build)
| # Install Required Package | ||
| # | ||
| # NOTE To add additional build dependencies, append to `requires` field of [build-system] in pyproject.toml | ||
| python3 -m pip install build |
There was a problem hiding this comment.
Use build instead of setuptools
| apt-get install -f -y | ||
| onecc --version || echo "Installation failed." | ||
|
|
||
| - name: Trust all directories for Git |
There was a problem hiding this comment.
Required for git action to access cloned git repository
2338f14 to
71df6bc
Compare
| apt-get install -y curl git lsb-release unzip jq | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 # Import all commit history and tag |
There was a problem hiding this comment.
@mhs4670go
versioningit requires branch information to inspect whether there's new commit after recently released tags.
So, git clone needs to fetch all commit history and tag.
Use pyproject.toml
Let's use pyproject.toml.
This change also includes..
TICO-DCO-1.0-Signed-off-by: Dayoung Lee dayoung.lee@samsung.com
For #429