Compare commits

..

No commits in common. "2ac90bd35c57bf0f50d8ab49e93ad4fa88636873" and "244b4d291721b5625bb70e29efb391eddcd80af8" have entirely different histories.

3 changed files with 3 additions and 11 deletions

10
Jenkinsfile vendored
View File

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

View File

@ -12,7 +12,6 @@ wheel = "*"
twine = "*" twine = "*"
pandoc = "*" pandoc = "*"
pylint-django = "*" pylint-django = "*"
setuptools = "*"
[packages] [packages]
django = "*" django = "*"
@ -27,4 +26,3 @@ server = "django_lostplaces/manage.py runserver --ipv6"
dbshell = "django_lostplaces/manage.py dbshell" dbshell = "django_lostplaces/manage.py dbshell"
showmigrations = "django_lostplaces/manage.py showmigrations" showmigrations = "django_lostplaces/manage.py showmigrations"
makemigrations = "django_lostplaces/manage.py makemigrations --no-input" 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 from setuptools import setup, find_packages
with open('Readme.md') as f: with open('../Readme.md') as f:
readme = f.read() readme = f.read()
setup( setup(