Skip to main content

Tool to create virtualenvs, manage versions of packages in it and use it start a particular program

Project description

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

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

venvstarter-0.12.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

venvstarter-0.12.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file venvstarter-0.12.0.tar.gz.

File metadata

  • Download URL: venvstarter-0.12.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for venvstarter-0.12.0.tar.gz
Algorithm Hash digest
SHA256 f16d2a5ebe21c7d45b58e810f27dac6a23ec38180a56ea183e9113507462a7bc
MD5 f32f94669e9bf5a7758bdea047ec864a
BLAKE2b-256 3cc7b6be261d06f4358d56f6ae9a93de1f17b2dd80b5a281a1b40b6eb3c92d78

See more details on using hashes here.

File details

Details for the file venvstarter-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: venvstarter-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for venvstarter-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26b7df2a1ae5bef00df7537cd31cf1928093507c0767ffafd182c92fb3f17115
MD5 bc0e23f57d3488e213ae855f5c5c3de8
BLAKE2b-256 5f05470b059a67a475e7e04a6999a2cdd864e1189c159dcf3069824f9f354060

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page