-
Notifications
You must be signed in to change notification settings - Fork 4
install without pip
be
is Python package with an command-line interface. pip
makes installation easy, but if you're on your own what do you do?
The be
repository contains a Python package directory also called be
. Put this in any directory on your PYTHONPATH
.
For example,
- download tar
- clone repository via git
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.
Create a file called be.bat
with this content.
python -m be %*
Create a file called be
with this content.
#!/usr/bin/env bash
python -m be $*
And make it executable.
$ chmod +x ./be
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