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 snapcraft packaging #4852

Merged
merged 2 commits into from Mar 23, 2017
Jump to file or symbol
Failed to load files and symbols.
+17 −0
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

Add in-snap python interpreter

  • Loading branch information...
mhall119 committed Feb 1, 2017
commit 1e09a8a8493b9a115ae15b91b641d32b7093eb87
View
@@ -0,0 +1,5 @@
export MXNET_HOME=$SNAP
export LD_LIBRARY_PATH=${SNAP}/lib:${SNAP}/usr/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$MXNET_HOME:${SNAP}/lib/python2.7/site-packages/:${SNAP}/usr/lib/python2.7/dist-packages/:$PYTHONPATH
exec ${SNAP}/usr/bin/python $@
View
@@ -13,6 +13,10 @@ description: |
grade: stable
confinement: strict
apps:
python:
command: snap.python
parts:
mxnet:
source: .
@@ -47,4 +51,12 @@ parts:
- graphviz
- Jupyter
after: [mxnet]
python-wrapper:
plugin: dump
source: .
stage:
- snap.python
prime:
- snap.python
ProTip! Use n and p to navigate between commits in a pull request.