Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requirements.txt to automated build #902

Merged
merged 5 commits into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ manual/source/classes/*/NX*.rst
manual/source/classes/*/*.nxdl.xml
manual/source/classes/contributed_definitions/canSAS
manual/makelog.txt
build
/build/
/python/
impatient-guide/_build
.DS_Store
__github_creds__.txt
Expand Down
14 changes: 10 additions & 4 deletions jenkins_build
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ set -o errexit -x
# jenkins job name
job_name="$1"

export PATH=/usr/local/bin:$PATH

# use local python venv
. /usr/local/python/bin/activate
#export PATH=/usr/local/bin:$PATH

## install local python virtual environment
## based on local requirements.txt
PYDIR=`pwd`/python
prjemian marked this conversation as resolved.
Show resolved Hide resolved
rm -fr "${PYDIR}"
python -m venv ${PYDIR}
source $PYDIR/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

if test -d build; then
rm -fr build
Expand Down
38 changes: 38 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
alabaster
Babel
certifi
chardet
Deprecated
docutils
gitdb
GitPython
idna
imagesize
Jinja2
lxml
MarkupSafe
numpy
packaging
pandas
plotly
PyGithub
Pygments
PyJWT
pyparsing
pyRestTable
python-dateutil
pytz
requests
retrying
six
smmap
snowballstemmer
Sphinx
sphinxcontrib-applehelp
sphinxcontrib-devhelp
sphinxcontrib-htmlhelp
sphinxcontrib-jsmath
sphinxcontrib-qthelp
sphinxcontrib-serializinghtml
urllib3
wrapt