{ "info": { "author": "Fireteam Ltd.; Yelp, Inc.", "author_email": "opensource@yelp.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[![Build Status](https://travis-ci.org/Yelp/virtualenv-tools.svg?branch=master)](https://travis-ci.org/Yelp/virtualenv-tools)\n[![Coverage Status](https://img.shields.io/coveralls/Yelp/virtualenv-tools.svg?branch=master)](https://coveralls.io/r/Yelp/virtualenv-tools)\n[![PyPI version](https://badge.fury.io/py/virtualenv-tools3.svg)](https://pypi.python.org/pypi/virtualenv-tools3)\n\nvirtualenv-tools3\n--------\n\nvirtualenv-tools3 is a fork of [the original\nvirtualenv-tools](https://github.com/fireteam/virtualenv-tools) (now\nunmaintained) which adds support for Python 3, among other things. Full patch\ndetails are below.\n\n## yelp patches\n\n### yelp4\n\n* Add python3 support\n* Drop python2.6 support\n* 100% test coverage\n* Removes `$VENV/local` instead of fixing up symlinks\n* Removed `--reinitialize`, instead run `virtualenv $VENV -p $PYTHON`\n* Rewrite .pth files to relative paths\n\n\n### yelp3\n\n* default output much more concise, added a --verbose option\n* improved fault tolerance, in the case of:\n * corrupt pyc files\n * broken symlinks\n * unexpected directories\n* no-changes-needed is a success case (idempotency exits 0)\n\n\n### yelp1\n\n* --update now works more generally and reliably (e.g. virtualenv --python=python2.7)\n\n\n## virtualenv-tools\n\nThis repository contains scripts we're using at Fireteam for our\ndeployment of Python code. We're using them in combination with\nsalt to build code on one server on a self contained virtualenv\nand then move that over to the destination servers to run.\n\n### Why not virtualenv --relocatable?\n\nFor starters: because it does not work. relocatable is very\nlimited in what it does and it works at runtime instead of\nmaking the whole thing actually move to the new location. We\nran into a ton of issues with it and it is currently in the\nprocess of being phased out.\n\n### Why would I want to use it?\n\nThe main reason you want to use this is for build caching. You\nhave one folder where one virtualenv exists, you install the\nlatest version of your codebase and all extensions in there, then\nyou can make the virtualenv relocate to a target location, put it\ninto a tarball, distribute it to all servers and done!\n\n### Example flow:\n\nFirst time: create the build cache\n\n```\n$ mkdir /tmp/build-cache\n$ virtualenv --distribute /tmp/build-cache\n```\n\nNow every time you build:\n\n```\n$ . /tmp/build-cache/bin/activate\n$ pip install YourApplication\n```\n\nBuild done, package up and copy to whatever location you want to have it.\n\nOnce unpacked on the target server, use the virtualenv tools to\nupdate the paths and make the virtualenv magically work in the new\nlocation. For instance we deploy things to a path with the\nhash of the commit in:\n\n```\n$ virtualenv-tools --update-path /srv/your-application/\n```\n\nCompile once, deploy whereever. Virtualenvs are completely self\ncontained. In order to switch the current version all you need to\ndo is to relink the builds.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Yelp/virtualenv-tools", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "virtualenv-tools3", "package_url": "https://pypi.org/project/virtualenv-tools3/", "platform": "", "project_url": "https://pypi.org/project/virtualenv-tools3/", "project_urls": { "Homepage": "http://github.com/Yelp/virtualenv-tools" }, "release_url": "https://pypi.org/project/virtualenv-tools3/2.0.2/", "requires_dist": null, "requires_python": "", "summary": "A set of tools for virtualenv", "version": "2.0.2" }, "last_serial": 4765866, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "646266d11e83134b09cb7758738e70c3", "sha256": "c2a36e38eafc763cea91ec2375068f601ec6e7a6d9255b79f6abf62d4d20fe9f" }, "downloads": -1, "filename": "virtualenv_tools3-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "646266d11e83134b09cb7758738e70c3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8360, "upload_time": "2017-07-22T21:26:09", "url": "https://files.pythonhosted.org/packages/2f/57/80ff4fccb8e453c373c3a2399d9b7164dc7240256cf5d4024ecf4c332ce2/virtualenv_tools3-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6adb5fc066bf471388bc9a7f8d074872", "sha256": "aae22dfb802327234cc0e3f7f05bda661873a06b0cc69a19d46e3935a56c7880" }, "downloads": -1, "filename": "virtualenv-tools3-2.0.0.tar.gz", "has_sig": false, "md5_digest": "6adb5fc066bf471388bc9a7f8d074872", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6030, "upload_time": "2017-07-22T21:26:11", "url": "https://files.pythonhosted.org/packages/ff/59/4aadd6aee97663ae310b08b2620726debe0e7c3df4c46a065d183a3a49d6/virtualenv-tools3-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "09898f77995494b272639b3189178b98", "sha256": "112e90f6a2d93bc738057c35514ea1b8d2f6f630ad1cfc9fe6590900bd999f6a" }, "downloads": -1, "filename": "virtualenv_tools3-2.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09898f77995494b272639b3189178b98", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8732, "upload_time": "2017-10-19T21:11:51", "url": "https://files.pythonhosted.org/packages/b1/c0/e754cb8637ce7af83226e6b9dc935104ae22965a9e78255f5eb42e7da81f/virtualenv_tools3-2.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "17cf8ea3d3217e2273853ee2a7c2e8e5", "sha256": "521da78598d186559ca159c2af2121483d5e74c3c8fa410f5f184b8b39e236d9" }, "downloads": -1, "filename": "virtualenv-tools3-2.0.1.tar.gz", "has_sig": false, "md5_digest": "17cf8ea3d3217e2273853ee2a7c2e8e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6293, "upload_time": "2017-10-19T21:11:53", "url": "https://files.pythonhosted.org/packages/7c/bb/c1c040fc9271fdf62b04b9f276b613e02d6ec1fb637d28d7095cfd5979a7/virtualenv-tools3-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "8c5358595fd1f0e1aab234ca4c4a845f", "sha256": "02af2e12ad54c99bc9675e4c7c5493cee4e55700175eed673a963b62f89c57f6" }, "downloads": -1, "filename": "virtualenv_tools3-2.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8c5358595fd1f0e1aab234ca4c4a845f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7487, "upload_time": "2019-01-31T23:00:22", "url": "https://files.pythonhosted.org/packages/2a/ce/2edba8062cf2fee277ce0ea41b3a1c888034aaf23673740cde435c5d1b47/virtualenv_tools3-2.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f69356a694adea5e8ce1214e18a4595f", "sha256": "a90936b268e60af174f209f4bad6783303e7529c5d3297ab93a6d6a7d9cfd4e6" }, "downloads": -1, "filename": "virtualenv-tools3-2.0.2.tar.gz", "has_sig": false, "md5_digest": "f69356a694adea5e8ce1214e18a4595f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6265, "upload_time": "2019-01-31T23:00:23", "url": "https://files.pythonhosted.org/packages/8e/48/eb9bbb898154458207941fac746b3e093609f87218a51db3f7d6dd76120b/virtualenv-tools3-2.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c5358595fd1f0e1aab234ca4c4a845f", "sha256": "02af2e12ad54c99bc9675e4c7c5493cee4e55700175eed673a963b62f89c57f6" }, "downloads": -1, "filename": "virtualenv_tools3-2.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8c5358595fd1f0e1aab234ca4c4a845f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7487, "upload_time": "2019-01-31T23:00:22", "url": "https://files.pythonhosted.org/packages/2a/ce/2edba8062cf2fee277ce0ea41b3a1c888034aaf23673740cde435c5d1b47/virtualenv_tools3-2.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f69356a694adea5e8ce1214e18a4595f", "sha256": "a90936b268e60af174f209f4bad6783303e7529c5d3297ab93a6d6a7d9cfd4e6" }, "downloads": -1, "filename": "virtualenv-tools3-2.0.2.tar.gz", "has_sig": false, "md5_digest": "f69356a694adea5e8ce1214e18a4595f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6265, "upload_time": "2019-01-31T23:00:23", "url": "https://files.pythonhosted.org/packages/8e/48/eb9bbb898154458207941fac746b3e093609f87218a51db3f7d6dd76120b/virtualenv-tools3-2.0.2.tar.gz" } ] }