Skip to content

malev/pill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Minimalistic conda environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published