Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/cdci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,26 @@ jobs:
cd docs
vuegen -dir example_data/Earth_microbiome_vuegen_demo_notebook -rt jupyter
vuegen -c example_data/Earth_microbiome_vuegen_demo_notebook/Earth_microbiome_vuegen_demo_notebook_config.yaml -rt jupyter

publish:
name: Publish package to PyPI
if: startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
needs:
- test
- other-reports
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install twine and build
run: python -m pip install --upgrade twine build
- name: Build
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
18 changes: 14 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[tool.poetry]
[project]
name = "vuegen"
version = "0.1.0"
dynamic = ["version"]

[tool.poetry]
description = "Module to generate automatic web interface reports with visualizations"
authors = ["MoNA group"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/Multiomics-Analytics-Group/vuegen"
version = "0.1.0"

[tool.poetry.dependencies]
python = ">=3.9,<3.9.7 || >3.9.7,<4.0"
Expand Down Expand Up @@ -39,9 +42,16 @@ quarto-cli = "*"
[tool.poetry.group.dev.dependencies]
ipykernel = {version="^6.29.5", optional=true}

[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }


[tool.poetry-dynamic-versioning]
enable = true

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

# https://stackoverflow.com/a/60990574/9684872
[tool.poetry.extras]
Expand Down