Skip to content

Commit

Permalink
Change install to pip install . instead of calling setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justaddcoffee committed Aug 9, 2020
1 parent a0e16ea commit 4b4b276
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pipeline {
sh './venv/bin/pip install wheel'
sh './venv/bin/pip install bmt'
sh './venv/bin/pip install -r requirements.txt'
sh './venv/bin/python setup.py install'
sh './venv/bin/pip install .'
}
}
}
Expand Down Expand Up @@ -83,9 +83,7 @@ pipeline {
steps {
dir('./gitrepo') {
sh 'env'
sh '. venv/bin/activate'
sh 'env'
sh 'python3.7 run.py transform'
sh '. venv/bin/activate && env && python3.7 run.py transform'
}
}
}
Expand Down

0 comments on commit 4b4b276

Please sign in to comment.