Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 5, 2021
1 parent 4d52696 commit a38db7e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install poetry poetry-dynamic-versioning twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
poetry build
twine upload dist/*
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ name = "izanami"
version = "0.1.0"
description = ""
authors = ["boke0 <[email protected]>"]
license = "MIT"

include = [
"izanami/templates/*.html",
"izanami/templates/**/*.html",
"izanami/static/*",
"izanami/static/**/*",
]

[tool.poetry.dependencies]
python = "^3.9"
Expand All @@ -23,3 +31,7 @@ black = "^20.8b1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"

0 comments on commit a38db7e

Please sign in to comment.