Skip to content

Commit

Permalink
Merge pull request #7 from FolhaSP/deploy/pypi
Browse files Browse the repository at this point in the history
feat: add workflow for package publishing and update version to 0.1.0rc1
  • Loading branch information
leodiegues authored Nov 19, 2024
2 parents a63f233 + ee4359d commit 72d166e
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
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
16 changes: 15 additions & 1 deletion pyproject.toml
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",
Expand Down

0 comments on commit 72d166e

Please sign in to comment.