The wrapper for jill.py and manage Julia environments with Python virtualenv
Project description
JILL Wrapper
JILL Wrapper (jillw
) is a lightweight and cross-platform Julia version manager. This work is based on johnnychen94/jill.py and Python venv.
jillw
targets several different use cases:
- cross-platform julia installation
- cross-platform julia version management
- providing the "one Julia, one Python" installation
Installation
pip install -U jillw
Usage
Create environments
> jillw create --help
usage: create [-h] [--name NAME] [--upstream UPSTREAM] [--version VERSION] [--confirm] [--unstable] [name] [upstream] [version]
# create a new environment using Julia 1.8
> jillw create myenv --version 1.8
The explanations of the arguments except name
are referred to johnnychen94/jill.py.
Activate environments
> jillw switch <envname>
> jillw switch myenv
Start julia
under environments
> jillw switch myenv
> julia --compile=min --quiet
julia> Sys.which("julia")
"~/.jlenvs/myenv/julia/julia-1.8/bin/julia.exe"
List environments
> jillw list
myenv => ~/.jlenvs/myenv
latest => ~/.jlenvs/latest
Remove environments
> jillw remove latest
Environment latest removed.
Run commands under environments
> jillw switch myenv
> jillw run 'echo %VIRTUAL_ENV%'
~/.jlenvs/myenv
License
See LICENSE.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jillw-0.1.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
jillw-0.1.1-py3-none-any.whl
(5.0 kB
view hashes)