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: gopath.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file govenv-0.2.1.tar.gz
.
File metadata
- Download URL: govenv-0.2.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa235b3ad9001c4bb46f2a1bc6653c29fd1d4e23ac3c60e3d42bf2f0faddb78 |
|
MD5 | 507fbd58a175aefcd01e14a8eb292b05 |
|
BLAKE2b-256 | 5d527079a804560df0b650df348bfe7902efadf824c08122fb574d854f8cb3f2 |