Skip to content

Commit

Permalink
🐛 Move templates building into CI
Browse files Browse the repository at this point in the history
  • Loading branch information
perdy committed Sep 4, 2024
1 parent ab21de4 commit fbf168b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
12 changes: 0 additions & 12 deletions build.py

This file was deleted.

4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ classifiers = [
include = ["flama/py.typed", "flama/templates/**/*"]
exclude = []

[tool.poetry.build]
generate-setup-file = false
script = "build.py"

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
starlette = ">=0.31.0,<1.0.0"
Expand Down
2 changes: 2 additions & 0 deletions scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
source scripts/str_lib.sh
source scripts/clean
source scripts/build
source scripts/install

publish_pkg() {
if [[ -n "${PYPI_TOKEN}" ]]; then
Expand All @@ -18,6 +19,7 @@ publish_pkg() {
local arg="$1"
if [ "$arg" == "--build" ]; then
clean_folder
install_pkg
build_pkg
fi

Expand Down

0 comments on commit fbf168b

Please sign in to comment.