python-dev-project

Description

(Optionally) clone a Python project git repo, install the right version of Python using pyenv, create a virtualenv for the project, then install the project and it's requirements into the virtualenv for development.

Also create a .python-version in the project folder so the virtualenv is always activated when the folder is visited in the shell.

Variables

Name Type Default Description

project_folder

string --

The project folder. Required

project_name

string --

The name of the project.

project_repo

string --

The git repo url of the project (optional).

python_version

string latest

The version of python.

Command-line

frecklecute python-dev-project --help

Usage: frecklecute python-dev-project [OPTIONS]

  (Optionally) clone a Python project git repo, install the right version of
  Python using pyenv, create a virtualenv for the project, then install the
  project and it's requirements into the virtualenv for development.

  Also create a .python-version in the project folder so the virtualenv is
  always activated when the folder is visited in the shell.

Options:
  --project-folder PROJECT_FOLDER
                                  The project folder.  [required]
  --project-name PROJECT_NAME     The name of the project.
  --project-repo PROJECT_REPO     The git repo url of the project (optional).
  --python-version PYTHON_VERSION
                                  The version of python.
  --help                          Show this message and exit.