{ "info": { "author": "me", "author_email": "me@aitmp.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========\nbdist-venv2\n===========\n\nImplements a python distutils ``bdist_venv2`` command for creating a `virtualenv `_ \nbuilt distribution.\n\nIt was based on what was already done by:\n\n- https://github.com/mgood/bdist_venv\n \nbut incorporates ideas from:\n\n- https://github.com/spotify/dh-virtualenv\n- http://lucumr.pocoo.org/2012/6/22/hate-hate-hate-everywhere\n\nInstall\n-------\n\n.. code:: bash\n\n sudo pip install bdist-venv2\n \n\nExample\n-------\n\nSay you want to distribute a project called my-project. Get to its `setup.py`:\n\n.. code:: bash\n\n cd ~/code/my-project/src\n ls\n ...\n setup.py\n ...\n\nMake sure you are *not* in a virtualenv (you can't create a virtualenv from\nwithin a virtualenv). If you in one exit it:\n\n.. code:: bash\n\n deactivate\n\nYou can either create a \"relocatable\" virtualenv ala `bdist_venv `_:\n\n.. code:: bash\n\n python setup.py bdist_venv2 -f gztar\n \nor one \"fixed-up\" to be unpacked to a particular location:\n\n.. code:: bash\n\n python setup.py bdist_venv2 -l /usr/lib/my-package -f gztar\n\nYou'll find the results in ``dist`` which might look something like:\n\n.. code:: bash\n\n ls dist\n ...\n dist/my-package-0.1.0.linux_x86_64-py2.7.tar.gz\n ...\n\ndepending on your environment.\n\nUsage\n-----\n\n.. code:: bash\n\n python setup.py bdist_venv2 --help\n\n Common commands: (see '--help-commands' for more)\n \n setup.py build will build the package underneath 'build/'\n setup.py install will install the package\n \n Global options:\n --verbose (-v) run verbosely (default)\n --quiet (-q) run quietly (turns verbosity off)\n --dry-run (-n) don't actually do anything\n --help (-h) show detailed help message\n --no-user-cfg ignore pydistutils.cfg in your home directory\n \n Options for 'bdist_venv2' command:\n --bdist-dir (-b) temporary directory for creating the distribution\n --location-dir (-l) location where virtualenv will be installed to\n (default: relocatable)\n --extras (-e) list of extras to included in the virtualenv\n --plat-name (-p) platform name to embed in generated filenames (default:\n linux-x86_64)\n --keep-temp (-k) keep the installation tree around after creating the\n distribution\n --keep-compiled keep compiled files in the distribution\n --dist-name (-n) name of the built distribution\n --dist-dir (-d) directory to put final built distributions in\n --format (-f) archive format to create (tar, ztar, gztar, zip)\n (default: none)\n --owner (-u) Owner name used when creating a tar file (default:\n current user)\n --group (-g) Group name used when creating a tar file (default:\n current group)\n \n usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\n or: setup.py --help [cmd1 cmd2 ...]\n or: setup.py --help-commands\n or: setup.py cmd --help\n\n\n0.1.2 (2014-01-05)\n------------------\n\nInitial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/bninja/bdist-venv2", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "bdist-venv2", "package_url": "https://pypi.org/project/bdist-venv2/", "platform": "any", "project_url": "https://pypi.org/project/bdist-venv2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/bninja/bdist-venv2" }, "release_url": "https://pypi.org/project/bdist-venv2/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Python distutils extension to create virtualenv built distributions.", "version": "0.1.3" }, "last_serial": 962335, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c4a54bca9ed747c9862c58ceb686382a", "sha256": "5a710d552e5d088d5a456f6ccc4f9542309d9f847e27055abaf3307553fd9d6b" }, "downloads": -1, "filename": "bdist-venv2-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c4a54bca9ed747c9862c58ceb686382a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5127, "upload_time": "2014-01-07T06:36:57", "url": "https://files.pythonhosted.org/packages/21/32/c222c0fb79a9aa28db34f724f619ee8ee7c0bce4c3cc194d06a79d58bf2e/bdist-venv2-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e542589c34adff84677dc531093fdaf5", "sha256": "dfb84a9259a47bc14c2ef67432ed3705f2910bc67fd72aa88bf9369ad326c767" }, "downloads": -1, "filename": "bdist-venv2-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e542589c34adff84677dc531093fdaf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5230, "upload_time": "2014-01-07T06:39:40", "url": "https://files.pythonhosted.org/packages/e3/8d/b828b08520d405c88279bea2e8f160d314e9f308bac6768006fa5f75ab23/bdist-venv2-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "081dbdcf0f4d56acdff31982fa199a2e", "sha256": "a4095931db6f82f2fcf17b91af8c9896c4681de237954ac2bb8aea75d66ab722" }, "downloads": -1, "filename": "bdist-venv2-0.1.2.tar.gz", "has_sig": false, "md5_digest": "081dbdcf0f4d56acdff31982fa199a2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6013, "upload_time": "2014-01-07T06:42:13", "url": "https://files.pythonhosted.org/packages/2d/d8/891a9987a6af2fb0b6569ace285009bd0d13a8a49a4a0b8f6d5c5b243535/bdist-venv2-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "553f7977ce1d17d0167615c9f434cf0e", "sha256": "155e4fbc3bf0eb912c4f0ecfccaa4dfbd2bf13df42a34df928965f9b0cf577de" }, "downloads": -1, "filename": "bdist-venv2-0.1.3.tar.gz", "has_sig": false, "md5_digest": "553f7977ce1d17d0167615c9f434cf0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6022, "upload_time": "2014-01-07T06:46:28", "url": "https://files.pythonhosted.org/packages/2d/a4/f523d41d119887d9d5f73d60b6fad93486d6bc50a28843c56080c4adf951/bdist-venv2-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "553f7977ce1d17d0167615c9f434cf0e", "sha256": "155e4fbc3bf0eb912c4f0ecfccaa4dfbd2bf13df42a34df928965f9b0cf577de" }, "downloads": -1, "filename": "bdist-venv2-0.1.3.tar.gz", "has_sig": false, "md5_digest": "553f7977ce1d17d0167615c9f434cf0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6022, "upload_time": "2014-01-07T06:46:28", "url": "https://files.pythonhosted.org/packages/2d/a4/f523d41d119887d9d5f73d60b6fad93486d6bc50a28843c56080c4adf951/bdist-venv2-0.1.3.tar.gz" } ] }