{ "info": { "author": "Tomek Czy\u017c", "author_email": "tomekczyz@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-env\n**********\n\n\nInstallation\n============\n\nWarning: You have to consider where to place this package because it has to\n be importable \"outside\" your project. Probably best place for it\n exists in project directory (or your \"lib\" directory) or in system-\n wide packages' place.\n\nSimplest way is to do (system-wide):\n\n pip install django-env\n\nor using archive\n\n tar xf django-env*\n cd django-env*\n python setup.py install\n\nor place installed egg in project's directory.\n\n\nConfiguration\n=============\n\nFirstly, you have some options in *settings.py*:\n\n\nSettings.py\n-----------\n\nYou can set number of settings:\n\nenv.settings.DJANGO_ENV_CREATE_AUTOUPDATE = False\n\n When doing *env_create*, should be run *env_update* after it.\n\nenv.settings.DJANGO_ENV_CREATE_SITEPACKAGES = False\n\n When doing *env_create*, should it *connect* global *site-\n packages*.\n\nenv.settings.DJANGO_ENV_NAME = 'py_env'\n\n Directory's name of virtualenv. If the name is *relative name* it\n is appended to *project's path*, if the name is *absolute name*\n (starts with /), is is set as is for virtualenv's directory.\n\nenv.settings.DJANGO_ENV_UPDATE_PIP_ARGUMENTS = []\n\n During *env_update* it is used *pip* for installing packages, you\n can add here additional arguments like *-i* or *-f*. *-U* can be\n set dynamicaly by adding *--upgrade* to *env_update*.\n\nenv.settings.DJANGO_ENV_UPDATE_REQUIREMENTS = 'requirements.pip'\n\n Name of file with requirements. If this path is relative is\n appended to project's path, else it is set as absolute.\n\nNote: Project's directory is the same where *manage.py* and *settings.py*\n lives.\n\n\nINSTALLED_APPS\n--------------\n\nNote: It is just cosmetic change to display command in *manage.py help*.\n\nAdd *env* to *INSTALLED_APPS*:\n\n INSTALLED_APPS += ('env', )\n\n\nproject setup\n-------------\n\nHow to activate the environment? Example:\n\n import env\n\nI suggest to place it in *manage.py* at the top.\n\n\nHow it works?\n=============\n\nIt just grab control from *manage.py* (if you import it) and check the\nargument line. If you passed one of *django-env* commands, it do what\nis needed and exit; else it pass control to *manage.py* to parse other\nargs.\n\n\nUsage\n=====\n\nTarget of this project is automating in creating project environment.\n\nThis app gives you some additional *manage.py* commands:\n\nenv_create [--force]\n create environment (and optionally do *env_update* - it depends on\n DJANGO_ENV_AUTOUPDATE variable in *settings.py*)\n\nenv_update [--upgrade]\n install packages from DJANGO_ENV_REQUIREMENTS file to current\n environment via *pip install -r*, or if you provide *--upgrade* it\n runs *pip install -U -r*.\n\n You can pass other arguments to *pip*, see *settings.py*.\n\nenv_remove\n simply deletes environments directory.\n\n\nTODO\n====\n\n* *py_env*/last_update - show last update date - monitoring feature\n\n\nChanges\n*******\n\n0.2\n\n * easier setup\n\n * added several options to 'settings.py'\n\n * it should work!\n\n0.1 - init", "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/spinus/django-env", "keywords": "django virtualenv managment", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-env", "package_url": "https://pypi.org/project/django-env/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-env/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/spinus/django-env" }, "release_url": "https://pypi.org/project/django-env/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Automaticly manages virtualenv for django project", "version": "0.2.1" }, "last_serial": 789569, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d23298bfbf2b76de61910b39e49d7982", "sha256": "50228661bff062cd1375b73795438820d516ee52d6c32fe0bd3f6d5e02d6d694" }, "downloads": -1, "filename": "django-env-0.1.tar.gz", "has_sig": true, "md5_digest": "d23298bfbf2b76de61910b39e49d7982", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11614, "upload_time": "2012-02-05T01:04:47", "url": "https://files.pythonhosted.org/packages/4a/d1/1cce51832498ae3092e1de83e615ca90361c0fae97bde426068a173f54be/django-env-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "2808f99eb0a676518ff2ace51498e0db", "sha256": "0d224eeda55068008990709b252683fcd264c0b940194ca240bbf49f3ba06597" }, "downloads": -1, "filename": "django-env-0.2.tar.gz", "has_sig": false, "md5_digest": "2808f99eb0a676518ff2ace51498e0db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13179, "upload_time": "2012-02-11T17:04:06", "url": "https://files.pythonhosted.org/packages/b1/7e/12535048e5d8d2b64971266ae411c41328b1772c935ab0d7f558197878ff/django-env-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e55faa5c3b86285894043438d7510537", "sha256": "b1628892a2819a0c143ed058b0d22c315beef72dc7fbf262b35c13c5d04b441c" }, "downloads": -1, "filename": "django-env-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e55faa5c3b86285894043438d7510537", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13095, "upload_time": "2012-02-13T18:37:56", "url": "https://files.pythonhosted.org/packages/58/b9/b333886b8b004b3d8cc14006e3c9c16d035796f189254c8936202ef9f5bb/django-env-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e55faa5c3b86285894043438d7510537", "sha256": "b1628892a2819a0c143ed058b0d22c315beef72dc7fbf262b35c13c5d04b441c" }, "downloads": -1, "filename": "django-env-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e55faa5c3b86285894043438d7510537", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13095, "upload_time": "2012-02-13T18:37:56", "url": "https://files.pythonhosted.org/packages/58/b9/b333886b8b004b3d8cc14006e3c9c16d035796f189254c8936202ef9f5bb/django-env-0.2.1.tar.gz" } ] }