{ "info": { "author": "Michal Krenek (Mikos)", "author_email": "m.krenek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Setuptools Plugin", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Internationalization", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Localization", "Topic :: Software Development :: User Interfaces", "Topic :: System :: Software Distribution" ], "description": "setup_qt\n========\n\nCompile Qt resource files, UI files and translations in setup.py\n\nCan be used with PyQt4, PyQt5, PySide and PySide2. Usage of Qt bindings\nwrappers like `Qt.py `_ or\n`QtPy `_ is also supported.\n\nRequirements\n------------\n\n- Python >= 3.4\n- Setuptools (https://github.com/pypa/setuptools)\n- PyQt4 / PyQt5 / PySide / PySide2\n\nExample\n-------\n\n**setup.py:**\n\n.. code-block:: python\n\n from setuptools import setup\n from setup_qt import build_qt\n \n setup(\n name='example',\n version='1.0.0',\n description='setup_qt example',\n author='Monty Python',\n author_email='monty.python@example.com',\n url='https://www.example.com',\n license='MIT',\n packages=['example'],\n package_data={\n 'example': [\n '*.ui',\n '*.qrc',\n 'languages/*.ts',\n 'languages/*.qm',\n ],\n },\n entry_points={\n 'gui_scripts': [\n 'example=example.__main__:main',\n ],\n },\n install_requires=[\n 'PyQt5',\n 'Qt.py',\n ],\n options=[\n 'build_qt': {\n 'packages': ['example'],\n 'languages': ['cs'], # optional\n 'languages_dir': 'languages', # optional ('languages' is default)\n 'bindings': 'PyQt5', # optional ('PyQt5' is default)\n 'replacement_bindings': 'Qt', # optional (for Qt.py wrapper usage)\n },\n ],\n cmdclass={\n 'build_qt': build_qt,\n },\n )\n\n**Usage:**\n::\n\n [user@host ~]$ python setup.py build_qt\n running build_qt\n compiling example Qt resource files...\n compiling example Qt UI files...\n updating example Qt translation files...\n compiling example Qt translation files...\n\nHelp\n----\n::\n\n Options for 'build_qt' command:\n --packages List of comma separated packages in which to\n recursively find .qrc, .ui and .ts files\n --languages List of comma separated translation languages (could\n be empty)\n --languages-dir Directory with translation files (could be empty,\n default is \"languages\")\n --bindings Qt binding from which to use pyrcc, pyuic and\n pylupdate commands (default is PyQt5)\n --replacement-bindings Qt bindings replacement (e.g. if using wrapper like\n Qt.py or QtPy)\n --pyrcc pyrcc command executable\n --pyuic pyuic command executable\n --pylupdate pylupdate command executable\n --lrelease lrelease command executable\n --filename-qrc name template for .py files compiled from .qrc files\n --filename-ui name template for .py files compiled from .ui files\n --filename-ts name template for newly created .ts files\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xmikos/setup_qt", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "setup_qt", "package_url": "https://pypi.org/project/setup_qt/", "platform": "", "project_url": "https://pypi.org/project/setup_qt/", "project_urls": { "Homepage": "https://github.com/xmikos/setup_qt" }, "release_url": "https://pypi.org/project/setup_qt/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Compile Qt resource files, UI files and translations in setup.py", "version": "1.0.0" }, "last_serial": 2726329, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "830dde36c120fe36f7a9fdfd4c8ce7e3", "sha256": "cdc8d54d72c3024a30bfda2b4ed792e53be11640db77e6f1b0512a8626fcbe6c" }, "downloads": -1, "filename": "setup_qt-1.0.0.tar.gz", "has_sig": false, "md5_digest": "830dde36c120fe36f7a9fdfd4c8ce7e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4427, "upload_time": "2017-03-23T17:03:48", "url": "https://files.pythonhosted.org/packages/dd/13/856f21bb1a768f2a8befcae749fb499ba41b217e59e75a4a59aa31243151/setup_qt-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "830dde36c120fe36f7a9fdfd4c8ce7e3", "sha256": "cdc8d54d72c3024a30bfda2b4ed792e53be11640db77e6f1b0512a8626fcbe6c" }, "downloads": -1, "filename": "setup_qt-1.0.0.tar.gz", "has_sig": false, "md5_digest": "830dde36c120fe36f7a9fdfd4c8ce7e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4427, "upload_time": "2017-03-23T17:03:48", "url": "https://files.pythonhosted.org/packages/dd/13/856f21bb1a768f2a8befcae749fb499ba41b217e59e75a4a59aa31243151/setup_qt-1.0.0.tar.gz" } ] }