Compare commits

..

5 Commits

Author SHA1 Message Date
2ac90bd35c Archiving build artefacts 2021-07-16 13:35:32 +02:00
3685db6892 Im dumb 2021-07-16 13:31:03 +02:00
d5789cef75 Screw it, building is not handled by pipenv 2021-07-16 13:28:58 +02:00
5fca4dc52a Setuptools outside of venv 2021-07-16 13:24:01 +02:00
cbf45af5f5 setuptools dev depedency 2021-07-16 13:20:03 +02:00
3 changed files with 11 additions and 3 deletions

10
Jenkinsfile vendored
View File

@ -13,12 +13,12 @@ pipeline {
}
stages {
stage('setup') {
steps {
script {
sh 'pipenv install'
sh 'pipenv install --dev'
sh 'pip install setuptools'
}
}
}
@ -34,9 +34,15 @@ pipeline {
stage('build') {
steps {
script {
sh 'python django_lostplaces/setup.py bdist_wheel --universal'
sh 'pipenv run build'
}
}
}
}
post {
success {
archiveArtifacts artifacts: 'dist/*.whl', fingerprint: true
}
}
}

View File

@ -12,6 +12,7 @@ wheel = "*"
twine = "*"
pandoc = "*"
pylint-django = "*"
setuptools = "*"
[packages]
django = "*"
@ -26,3 +27,4 @@ server = "django_lostplaces/manage.py runserver --ipv6"
dbshell = "django_lostplaces/manage.py dbshell"
showmigrations = "django_lostplaces/manage.py showmigrations"
makemigrations = "django_lostplaces/manage.py makemigrations --no-input"
build = "django_lostplaces/setup.py bdist_wheel --universal"

View File

@ -3,7 +3,7 @@
from setuptools import setup, find_packages
with open('../Readme.md') as f:
with open('Readme.md') as f:
readme = f.read()
setup(