Skip to main content

Virtual Python Environment builder

Project description

Virtualenv

Mailing list | Issues | Github | PyPI | User IRC: #pypa Dev IRC: #pypa-dev

Introduction

virtualenv is a tool to create isolated Python environments.

The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.7/site-packages (or whatever your platform’s standard location is), it’s easy to end up in a situation where you unintentionally upgrade an application that shouldn’t be upgraded.

Or more generally, what if you want to install an application and leave it be? If an application works, any change in its libraries or the versions of those libraries can break the application.

Also, what if you can’t install packages into the global site-packages directory? For instance, on a shared host.

In all these cases, virtualenv can help you. It creates an environment that has its own installation directories, that doesn’t share libraries with other virtualenv environments (and optionally doesn’t access the globally installed libraries either).

Release History

14.0.1 (2016-01-21)

  • Upgrade from pip 8.0.0 to 8.0.2.

  • Fix the default of --(no-)download to default to downloading.

14.0.0 (2016-01-19)

  • BACKWARDS INCOMPATIBLE Drop support for Python 3.2.

  • Upgrade setuptools to 19.4

  • Upgrade wheel to 0.26.0

  • Upgrade pip to 8.0.0

  • Upgrade argparse to 1.4.0

  • Added support for python-config script (PR #798)

  • Updated activate.fish (PR #589) (PR #799)

  • Account for a site.pyo correctly in some python implementations (PR #759)

  • Properly restore an empty PS1 (#407)

  • Properly remove pydoc when deactivating

  • Remove workaround for very old Mageia / Mandriva linuxes (PR #472)

  • Added a space after virtualenv name in the prompt: (env) $PS1

  • Make sure not to run a –user install when creating the virtualenv (PR #803)

  • Remove virtualenv file’s path from directory when executing with a new python. Fixes issue #779, #763 (PR #805)

  • Remove use of () in .bat files so Program Files (x86) works #35

  • Download new releases of the preinstalled software from PyPI when there are new releases available. This behavior can be disabled using --no-download.

  • Make --no-setuptools, --no-pip, and --no-wheel independent of each other.

Full Changelog.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

virtualenv-14.0.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

virtualenv-14.0.1-py2.py3-none-any.whl (1.8 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file virtualenv-14.0.1.tar.gz.

File metadata

  • Download URL: virtualenv-14.0.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for virtualenv-14.0.1.tar.gz
Algorithm Hash digest
SHA256 715aa5ff9c055ed5c864accdbab6a75331b2040d5666ec8707c48559c7ea3b88
MD5 687b2c8ff325c97c37c365f68b0ae975
BLAKE2b-256 a99b2cf9ff97b7fb23a1fd3d16ebf2a01be15ce2f8b55f552d1314af070353d2

See more details on using hashes here.

Provenance

File details

Details for the file virtualenv-14.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for virtualenv-14.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 53b7151dbbaacdc6ed08acf259cb8395e286db6fc250f6a6fbbfee8372199336
MD5 e81fb3fa5a56e783145f83f0216cb193
BLAKE2b-256 13f184b2cd9bf5ad9a2d5078cb8e537418e0bff4b5446d22dbdf258b28c6a8a8

See more details on using hashes here.

Provenance

Supported by

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