-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from FolhaSP/deploy/pypi
feat: add workflow for package publishing and update version to 0.1.0rc1
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Publish Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
publish: | ||
if: "!cancelled()" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
python-version: ["3.10"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up uv | ||
uses: astral-sh/setup-uv@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
run: uv python install ${{ matrix.python-version }} | ||
- name: Set up uv | ||
uses: astral-sh/setup-uv@v3 | ||
- name: Build the package | ||
run: uv build | ||
- name: Publish the package | ||
env: | ||
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }} | ||
run: uv publish --token $UV_PUBLISH_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
[project] | ||
name = "mosaico" | ||
version = "0.1.0-rc0" | ||
version = "0.1.0rc1" | ||
description = "Open-source video generation framework" | ||
authors = [ | ||
{ name = "Leonardo Diegues", email = "[email protected]" }, | ||
{ name = "Lucas Golino", email = "[email protected]" }, | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.10,<3.13" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: GNU General Public License (GPL)", | ||
"Operating System :: OS Independent", | ||
"Topic :: Multimedia", | ||
"Topic :: Multimedia :: Video :: Non-Linear Editor", | ||
"Topic :: Multimedia :: Sound/Audio :: Speech", | ||
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis", | ||
"Topic :: Text Processing :: Fonts", | ||
|
||
] | ||
dependencies = [ | ||
"pydantic", | ||
"pyyaml", | ||
|