Program to bootstrap a virtualenv for your program!
Full documentation at http://venvstarter.readthedocs.io
Tests
To run the tests you must first create a pythons.json in the root of your checkout of venvstarter that tells the tests where to find each version of Python:
{
"python3.7": "~/.pyenv/versions/3.7.12/bin/python",
"python3.8": "~/.pyenv/versions/3.8.12/bin/python",
"python3.9": "~/.pyenv/versions/3.9.6/bin/python"
"python3.10": "~/.pyenv/versions/3.10.0/bin/python"
"python3.11": "~/.pyenv/versions/3.11.0/bin/python"
}
In this example I’m using pyenv to get copies of each Python. Using pyenv isn’t a requirement, but it does make it easy! There is nothing in the tests that rely on features in any particular version, and so the minor patch of each version is irrelevant. All that matters is having some version of 3.7, 3.8, 3.9, 3.10 and 3.11.
I recommend running the tests in a virtualenv. I use virtualenvwrapper for this but you can also do a python3 -m venv my_venv somewhere and use that.
Then once you’re in a virtualenv:
> python -m pip install -e ".[tests]" > ./test.sh
Metadata
Release files for venvstarter 0.12.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| venvstarter-0.12.2.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| venvstarter-0.12.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.5 kB
Release files / venvstarter-0.12.2.tar.gz
| Download URL | venvstarter-0.12.2.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c04a03b9278d75b2c2b3da55290e1a208db0449cdd88c785bb9b11000ba9238
|
|
BLAKE2b-256 checksum How to use checksums |
6f57eecb6064a4f01602ba6c4e344f288f0f4ed11f87a25bab932ee3f50b9518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / venvstarter-0.12.2-py3-none-any.whl
| Download URL | venvstarter-0.12.2-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6061ed0a816d576af8a1f9be98d5448c40b49273cbc82f5ceb9a5a5523143fcc
|
|
BLAKE2b-256 checksum How to use checksums |
0cec8b6935f0fbdfebd66452c5fc820eebabe0b9094c4c9173f3008bd5e942b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|