Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (28 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.22 KB

virtualenvwrapper.github

virtualenvwrapper.github is a template for virtualenvwrapper.project (by Doug Hellmann). It automaticaly creates a GitHub repository for the new project, initializes the local repository and configures the remote origin. If the GitHub repository already exists, user will be prompted to clone the repository or abort the operation.

Dependencies

The following python packages need to be installed and can be downloaded from pypi:

  • virtualenv
  • virtualenvwrapper (>=2.0)
  • virtualenvwrapper.project (>=1.0)
  • PyGithub
  • gitpython

Installation

Download the latest project version, put yourself in the source directory, and as root, type:

python setup.py install

Then, you need to set your GitHub username and api key, you can find your api key in your account settings, under the administration tab. Add these two lines to your .bashrc (or .zshrc or whatever your shell is)

export GITHUB_USER="username"
export GITHUB_API_TOKEN="api_token"

Usage

Just specify 'github' as a template to use when launching the mkproject command:

mkproject -t github my_project_name

Enter your project description and homepage if you want, and you're good to go.