{ "info": { "author": "Vanguardistas LLC", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Setuptools Plugin", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Build Tools" ], "description": ".. contents::\n\nPurpose\n=======\n\nThis package integrates pure-python gettext translation compilation (msgfmt)\ninto the setup.py \"build\" and \"develop\" commands.\n\nThese commands are extended so that every \"data file\" identified by setuptools\nwith the .po extension is compiled to a .mo file in the same directory as the\n.po file.\n\nThis integrates very well if you use z3c.recipe.i18n (and hopefully others as\nwell) to manage .po files.\n\nUsage\n=====\n\nYou need to override the \"build\" and \"develop\" commands in your setup.py, for example::\n\n from setuptools import setup, find_packages\n from van.potomo import develop, build\n\n setup(\n name = \"HelloWorld\",\n cmdclass={'build': build,\n 'develop': develop},\n setup_requires=[\"van.potomo\"],\n version = \"0.1\",\n packages = find_packages(),\n )\n\nWhy\n===\n\nThis package exists because the author believes that:\n\n* Compiled translations should not be stored under revision control, they are not source\n* Compiled translations should not be distributed in tarballs, they are not source\n* Compiled translations should not be \"lazily compiled\" unless you take into account that\n filesystems on production machines are often read-only.\n* The process of compiling translations should not require an extra step/options during\n the build/install or build/develop cycle.\n\nThe options available at the time offered all of this:\n\n* Babel: Not integrated into the \"build\" distutils command. \n* cc.gettext: Depends on buildout, not useful for deployments by other means.\n* zope.i18n lazy compilation: Very nice for development, but not on some\n production environments.\n\n\nCaveats\n=======\n\nvan.potomo makes your setup.py depend on van.potomo. But outside tools cannot\ntell this because they need to run the setup.py to figure out the dependencies.\n\nBasically this means your developers/users will need to install van.potomo\nmanually before anything else. If anyone knows a robust/good way to get around\nthis limitation, please let the author know.\n\n\nChanges\n=======\n\n2.1 (2013-08-23)\n----------------\n\n- run egg_info before develop to make sure SOURCES.txt exists and is up\n to date\n\n2.0 (2013-08-15)\n----------------\n\n- Conform to Zope repository policy.\n- Support Python 3\n- Fix issue where recently deleted files could cause an exception if\n they were still in SOURCES.txt\n\n1.0.0 (2009-03-10)\n------------------\n\n- Initial Release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/van.potomo", "keywords": null, "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "van.potomo", "package_url": "https://pypi.org/project/van.potomo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/van.potomo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/van.potomo" }, "release_url": "https://pypi.org/project/van.potomo/2.1/", "requires_dist": null, "requires_python": null, "summary": "PO to MO build time compiler", "version": "2.1" }, "last_serial": 847150, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e4d08d12473e55429f7fd78124b364e4", "sha256": "467d83007288b12363922c24b62fde438e2b9bd2efe0df89252e98d16d291b7e" }, "downloads": -1, "filename": "van.potomo-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e4d08d12473e55429f7fd78124b364e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4495, "upload_time": "2009-03-10T16:42:59", "url": "https://files.pythonhosted.org/packages/cd/ca/5e1579987d069a2e49606a8e5c7e3a26ba4ca2374a6fcab8108678fc5690/van.potomo-1.0.0.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "9e5ec3159e8a0fa0235af8055e7bf954", "sha256": "cbf05ef3e72541c32d91fef3279cbca769f0372cc3b4a3024747c1d67252946e" }, "downloads": -1, "filename": "van.potomo-2.0.tar.gz", "has_sig": false, "md5_digest": "9e5ec3159e8a0fa0235af8055e7bf954", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4735, "upload_time": "2013-08-15T08:14:21", "url": "https://files.pythonhosted.org/packages/7e/ac/f3edeffefd4c68abebb573d249c229c896c84ab800cc53b29f0d712d56de/van.potomo-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "25f289008e96df5ab879c93a4bdc0e3a", "sha256": "7d4f4cefdf98eff88bfccbf76fc0b7f29dfbb47f5b3ef7cbb7be33323d58f254" }, "downloads": -1, "filename": "van.potomo-2.1.tar.gz", "has_sig": false, "md5_digest": "25f289008e96df5ab879c93a4bdc0e3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4826, "upload_time": "2013-08-23T14:53:07", "url": "https://files.pythonhosted.org/packages/ff/86/0b3a9f9e0642ce2762e1131a8bf80f028a191dce80608c58b26ffaa550f7/van.potomo-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "25f289008e96df5ab879c93a4bdc0e3a", "sha256": "7d4f4cefdf98eff88bfccbf76fc0b7f29dfbb47f5b3ef7cbb7be33323d58f254" }, "downloads": -1, "filename": "van.potomo-2.1.tar.gz", "has_sig": false, "md5_digest": "25f289008e96df5ab879c93a4bdc0e3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4826, "upload_time": "2013-08-23T14:53:07", "url": "https://files.pythonhosted.org/packages/ff/86/0b3a9f9e0642ce2762e1131a8bf80f028a191dce80608c58b26ffaa550f7/van.potomo-2.1.tar.gz" } ] }