Update Jenkinsfile for improved dependency installation and set license to MIT in pyproject.toml; add requirements_dev.txt for development dependencies
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good

This commit is contained in:
Michał Leśniak 2025-03-29 00:08:56 +01:00
parent f3e1463b2b
commit a1b1450400
3 changed files with 9 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
stage('Setup Python') { stage('Setup Python') {
steps { steps {
sh 'python3.13 -m venv venv' // Create a virtual environment sh 'python3.13 -m venv venv' // Create a virtual environment
sh '. venv/bin/activate && pip install --upgrade pip build twine' sh '. venv/bin/activate && python -m pip install --upgrade pip && pip install --upgrade build twine && pip install -r requirements_dev.txt'
} }
} }

View File

@ -18,7 +18,7 @@ dependencies = [
] ]
requires-python = ">=3.13" requires-python = ">=3.13"
readme = "README.md" readme = "README.md"
license = { file = "LICENSE" } license = "MIT"
[project.optional-dependencies] [project.optional-dependencies]
cuda12-nightly = [ cuda12-nightly = [

7
requirements_dev.txt Normal file
View File

@ -0,0 +1,7 @@
networkx==3.4.2
Pillow==11.1.0
pywin32==309; sys_platform == 'win32'
Requests==2.32.3
wdtagger==0.14.0
bs4==0.0.2
tomli==2.2.1