Self contained virtual environments for Julia.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Micah Halter 8e18149801
Really fixed 1.0 compatibility
4 months ago
assets Cleaned up code structure 4 months ago
src Really fixed 1.0 compatibility 4 months ago
.gitignore Initial push 4 months ago
CHANGELOG.md Updated documentation and prepared for initial release for v0.1.0 4 months ago
LICENSE Initial commit 4 months ago
Project.toml Added ability to create multiple environments 4 months ago
README.md Updated documentation and prepared for initial release for v0.1.0 4 months ago

README.md

VirtualEnv.jl

Self contained virtual environments for Julia.

Supported Shells

  • Bash
  • ZSH
  • Windows Command Prompt

Upcoming

  • Fish
  • CSH
  • Powershell

Installation

~$ julia -e 'using Pkg; Pkg.add("VirtualEnv")'

Usage

usage: venv(ENV_DIR, [ENV_DIR, ...]; [clear=(true|false)], [upgrade=(true|false)],
            [prompt=PROMPT], [help=(true|false)])

Creates virtual Julia environments in one or more target directories.

positional arguments:
  ENV_DIR               A directory to create the environment in.

optional arguments:
  help=(true|false)     show this help message and exit
  clear=(true|false)    Delete the contents of the environment directory if it
                        already exists, before environment creation. (Default: false)
  upgrade=(true|false)  Upgrade the environment directory to use this version
                        of Julia, assuming Julia has been upgraded in-place. (Default: false)
  prompt=PROMPT         Provides an alternative prompt prefix for this environment. (Default: ENV_DIR)

Once an environment has been created, you may wish to activate it,
e.g. by sourcing an activate script in its bin directory.

Print help dialogue:

~$ julia -e 'using VirtualEnv; venv(help=true)'

Creating a virtual environment:

~$ julia -e 'using VirtualEnv; venv("env")'

Activating the virtual environment:

~$ source env/bin/activate

Deactivating an environment:

~$ deactivate