Skip to content

Commit 3c23576

Browse files
committed
.guix-run: Starts a minimal guix container for running schema-salad-tool
1 parent 1678dc0 commit 3c23576

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.guix-run

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#! /bin/sh
2+
#
3+
# This script sets up a Guix container. Make sure guix is in the path
4+
# - after installing Guix (on Debian).
5+
#
6+
# Note that pyshex etc are part of the guix-bioinformatics channel at
7+
#
8+
# https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics
9+
10+
env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ guix environment -C guix --ad-hoc git python python-pyyaml python-pycurl python-magic nss-certs python-pyshex --network openssl python-schema-salad python-pytest which less vim python-toml python-iniconfig python-tox python-mypy python-pylint
11+
12+
# Once in the shell you can do
13+
# --- run tests (takes 1 minute, skips lint and mypy)
14+
# tox
15+
# --- install and run
16+
# python3 setup.py install --user
17+
# ~/.local/bin/schema-salad-tool --help
18+
#

0 commit comments

Comments
 (0)