Skip to main content

Golang Enhancements to virtualenv

Project description

Very simple, effective go virtual environments that work directly with python’s virtualenv and virtualenvwrapper.

How does it work?

It’s just a virtualenvwrapper extension!

If you are already using that, just

$ pip install govenv

And next time you make a virtualenv by using mkvirtualenv it will create a gopath directory in your venv folder to hold all your golang source. Now, whenever you activate that it will set your GOPATH and PATH, and return it to its previous setting when you deactive.

We also add an alias, if you don’t have it:

$ gohere

Which will add your current working dir to the end of the GOPATH (useful for testing local code during development.

It’s extremely simple, you should just look at the source:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for govenv, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size govenv-0.2.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page