1
0
mirror of synced 2024-11-15 01:47:34 +01:00

Move dev dependencies from GHA to pyproject.toml

This commit is contained in:
Viv 2023-06-29 01:56:16 -04:00
parent 2f06ee433c
commit c320d4248b
2 changed files with 4 additions and 8 deletions

View File

@ -28,18 +28,14 @@ jobs:
with:
python-version: '3.8.x'
- name: Install test dependencies
- name: Install tja2fumen and its dev dependencies
run: |
pip install pytest
pip install -e .
pip install .[dev]
- name: Run tests (Python API)
run: |
pytest testing --entry-point python-api
- name: Install build dependencies
run: pip install toml-cli build twine pyinstaller
# The GitHub Actions bot email was taken from: https://github.community/t/github-actions-bot-email-address/17204/6
- name: Set bot user data for commits
# Only set git user data if workflow is run manually. (This allows the other steps in the workflow to test PRs.)

View File

@ -1,6 +1,6 @@
[project]
name = "tja2fumen"
version = "0.0.1"
version = "0.0.dev0"
description = "Convert TJA chart files into fumen (.bin) chart files"
readme = "README.md"
requires-python = ">=3.8"
@ -18,7 +18,7 @@ keywords = ["taiko", "tatsujin", "fumen", "TJA"]
tja2fumen = "tja2fumen:main"
[project.optional-dependencies]
build = ["pyinstaller"]
dev = ["pytest", "build", "pyinstaller", "twine", "toml-cli"]
[tool.setuptools.packages.find]
where = ["src"]