Skip to content

install without pip

Marcus Ottosson edited this page Jun 19, 2015 · 1 revision

be is Python package with an command-line interface. pip makes installation easy, but if you're on your own what do you do?




installing the package

The be repository contains a Python package directory also called be. Put this in any directory on your PYTHONPATH.

For example,




installing the cli

Once the Python package is installed, you can launch the CLI from the command-line like this.

$ python -m be

However the benefit of using pip is that it creates an executable of this command for you, called simply be.

$ be

To make one depends on your system.

windows

Create a file called be.bat with this content.

python -m be %*

linux/osx

Create a file called be with this content.

#!/usr/bin/env bash
python -m be $*

And make it executable.

$ chmod +x ./be

finally

On either platform, add the executable you created to any directory on your PATH.

You should now have an identical setup to the one pip provides you with.

$ be new film
Finding preset for "film"..
Pulling mottosso/be-film..
"macho_soda" created

be, a minimal directory and environment management system for creative projects.

table of contents

contributing

reference

configuration

aliases

commands

faq

in the wild

Clone this wiki locally