Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.49 KB

README.md

File metadata and controls

65 lines (47 loc) · 1.49 KB

Pill

  ,.--.   ,.--.
//  \  \ // \  \
\\   \ / \\  \ /
  `'--'   `'--'

Minimalistic conda environments.

Description

It will create a .pill directory in the current path. It will update environmental variables so that your conda packages will now be installed in your new local environment.

Installation

conda install pill -y -c malev -r root

Usage

usage: pill [COMMAND]

SYNOPSIS
    Create a local python and conda environment in the current directory.
    When activated all the libraries will be installed and imported from
    the '.pill' directory in the root of your project.

USAGE
    Create and run temporal/local environments.

      $ pill init
      $ pill run python your-script.py
      $ source pill in
      $ source pill out

COMMANDS
    init    Creates the .pill directory and create links.
    run     Run a script in the context of the local pill.
    in      Modifies CONDA_DEFAULT_ENV and PATH to use
            the .pill directory and sets the PILL_NAME variable.
    out     Restores the previous CONDA_DEFAULT_ENV and PATH. Also
            unsets PILL_NAME.

Recommendations

After you create your new environment you should install python.

$ pill init
$ source pill in
$ conda install -y python=3.4

You can also instal python 2.7 but let's face it, it's time to start using python 3.

Inspiration

This software is based in gst and gs. Minimalistic gemsets for ruby.