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
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good
This commit is contained in:
parent
f3e1463b2b
commit
a1b1450400
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
7
requirements_dev.txt
Normal 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
|
Loading…
x
Reference in New Issue
Block a user