{ "info": { "author": "Jacob Welsh", "author_email": "jacob@welshcomputing.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Desktop Environment", "Topic :: Software Development :: Build Tools" ], "description": "===================\ninstall_freedesktop\n===================\n\nSetuptools extension to install launcher icons for KDE, GNOME, or other\nfreedesktop.org compatible Linux/UNIX environments.\n\nDesktop entry spec:\nhttp://standards.freedesktop.org/desktop-entry-spec/latest/index.html\n\nLicense\n=======\n\nCopyright 2015 Jacob Welsh\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nUsage\n=====\n\nOnce this module is installed (such as by using the ``setup_requires``\nargument), desktop entry files will be automatically installed for each\n``gui_scripts`` entry point. Example::\n\n setup(\n ...\n setup_requires=['install_freedesktop'],\n entry_points={\n 'gui_scripts': [\n 'myapp=myapp:main',\n ],\n },\n )\n\nThis would create *myapp.desktop*, setting the Name and Icon keys to \u201cmyapp\u201d\nand Exec to the full path of the script.\n\nTo customize, or add desktop files for non-entry-point based scripts, pass a\ndict to the ``desktop_entries`` argument, where each key matches a script name\nand its value is a dict containing the desktop entry keys/values. Example::\n\n setup(\n ...\n setup_requires=['install_freedesktop'],\n scripts=['myscript'],\n desktop_entries={\n 'myscript': {\n 'Name': 'MyApp',\n 'GenericName': 'Data Processor',\n 'Categories': 'Office;Database;',\n },\n },\n )\n\nNotes\n=====\n\nEither system-wide or ``--user`` mode installation is supported, as well as\n``--root=`` (for package builders). But the setuptools default egg-based\ninstallation does not work. (It doesn't run ``install_`` subcommands; even if\nit did, the data files would go in the egg, not the real data directory.) So\nyou must either use ``pip`` (recommended) or provide the\n``--single-version-externally-managed`` option yourself, on the command line or\nin *setup.cfg*. Wheels and any other relocatable bdist formats will also not\nwork, due to the need to use the final script path for the Exec in the desktop\nfile.\n\nUsing the ``setup_requires`` argument is potentially dangerous: if the package\nis not found, EasyInstall will be invoked to fetch it from PyPI, even if the\nuser thinks they have disabled this or chosen a different index. See\nhttps://pip.pypa.io/en/latest/reference/pip_install.html#controlling-setup-requires.\n\nThere is no automatic handling of icon files presently, though that's in scope\nfor this project. Quick example for doing it manually::\n\n setup(\n ...\n data_files=[\n ('share/icons/hicolor/16x16/apps', ['icons/16x16/myapp.png']),\n ('share/icons/hicolor/48x48/apps', ['icons/48x48/myapp.png']),\n ('share/icons/hicolor/scalable/apps', ['icons/scalable/myapp.svg']),\n ],\n )\n\n\nChanges\n=======\n\n0.1.2 (2015-02-01)\n------------------\n\n* Simplify subcommand invocation (hopefully more correct and less fragile)\n\n0.1.1 (2015-01-26)\n------------------\n\n* Use README/CHANGES in long_description for PyPI\n* Fix syntax in README examples\n* Support older setuptools (CentOS 6)\n\n0.1.0 (2015-01-26)\n------------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/welshjf/install_freedesktop", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "install-freedesktop", "package_url": "https://pypi.org/project/install-freedesktop/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/install-freedesktop/", "project_urls": { "Homepage": "https://github.com/welshjf/install_freedesktop" }, "release_url": "https://pypi.org/project/install-freedesktop/0.1.2/", "requires_dist": [ "setuptools" ], "requires_python": null, "summary": "Setuptools extension to install freedesktop.org app icons", "version": "0.1.2" }, "last_serial": 1405832, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5c1373a1fd3161525882ec8857e2a4db", "sha256": "7b74118d08b6e34517853a8a89d9271d492f50b3de36d7f80ec242b90b80820e" }, "downloads": -1, "filename": "install_freedesktop-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "5c1373a1fd3161525882ec8857e2a4db", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4655, "upload_time": "2015-01-26T07:07:17", "url": "https://files.pythonhosted.org/packages/90/78/78ad2b05304a4edc11bc50d33ea649276373401a51c6a42a5bcc0b27eb81/install_freedesktop-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26f517f11285248f73249bf234361b30", "sha256": "24b497553d801c5102afdfe41ecf633ad2779870d350f00432fe2785a3b904e3" }, "downloads": -1, "filename": "install_freedesktop-0.1.0.tar.gz", "has_sig": true, "md5_digest": "26f517f11285248f73249bf234361b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4035, "upload_time": "2015-01-26T07:07:20", "url": "https://files.pythonhosted.org/packages/14/76/52d6a1ebe270f3d2b3f951f54b817e5bfbeea393aaa93c9728e76ff15a2b/install_freedesktop-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "79de13b0d6ab4d18e1c309708d2562ba", "sha256": "b0f96853bafaf86315912471f49ee2ff3f9e667df75ea2f7d05279a3b0eb923e" }, "downloads": -1, "filename": "install_freedesktop-0.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "79de13b0d6ab4d18e1c309708d2562ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7591, "upload_time": "2015-01-26T19:00:39", "url": "https://files.pythonhosted.org/packages/0e/e3/47604373b05e0bf8ab300ddbe298b4054cf4928b006980f46b81a82948a7/install_freedesktop-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8365dec8d36739d7401442b028ce8578", "sha256": "38764d3b518394e1822e91aa3eaa6c7f3a269722d44b1450b5853e7be1f3e908" }, "downloads": -1, "filename": "install_freedesktop-0.1.1.tar.gz", "has_sig": true, "md5_digest": "8365dec8d36739d7401442b028ce8578", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4547, "upload_time": "2015-01-26T19:00:42", "url": "https://files.pythonhosted.org/packages/e7/ac/87c4fef2e9d54ad7dec3cd3fcea96cb7293644005a522889c5ef3de50320/install_freedesktop-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "64fc0b833653b2264bb2eab390755d0c", "sha256": "10b8a91f9493f20e9b57d8130701b6e30595adcf3df62416e90a48404bf59676" }, "downloads": -1, "filename": "install_freedesktop-0.1.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "64fc0b833653b2264bb2eab390755d0c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7789, "upload_time": "2015-02-02T04:45:17", "url": "https://files.pythonhosted.org/packages/99/33/5dfcb7d0c1bd0fe47e20fd6a0edde86ab15b7bbfba95c192af08c2e448c1/install_freedesktop-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9527165293cfdf0f208d3672266bab16", "sha256": "3e5a9b3404175b69c313b6b28c6ba21ec80a2b4abd964af86a4de43c30a195f0" }, "downloads": -1, "filename": "install_freedesktop-0.1.2.tar.gz", "has_sig": true, "md5_digest": "9527165293cfdf0f208d3672266bab16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4633, "upload_time": "2015-02-02T04:45:20", "url": "https://files.pythonhosted.org/packages/50/63/17fe03a0e470e623ee333d3d37d6d7bad00a9912f3e24b8feee53d0c1912/install_freedesktop-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64fc0b833653b2264bb2eab390755d0c", "sha256": "10b8a91f9493f20e9b57d8130701b6e30595adcf3df62416e90a48404bf59676" }, "downloads": -1, "filename": "install_freedesktop-0.1.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "64fc0b833653b2264bb2eab390755d0c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7789, "upload_time": "2015-02-02T04:45:17", "url": "https://files.pythonhosted.org/packages/99/33/5dfcb7d0c1bd0fe47e20fd6a0edde86ab15b7bbfba95c192af08c2e448c1/install_freedesktop-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9527165293cfdf0f208d3672266bab16", "sha256": "3e5a9b3404175b69c313b6b28c6ba21ec80a2b4abd964af86a4de43c30a195f0" }, "downloads": -1, "filename": "install_freedesktop-0.1.2.tar.gz", "has_sig": true, "md5_digest": "9527165293cfdf0f208d3672266bab16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4633, "upload_time": "2015-02-02T04:45:20", "url": "https://files.pythonhosted.org/packages/50/63/17fe03a0e470e623ee333d3d37d6d7bad00a9912f3e24b8feee53d0c1912/install_freedesktop-0.1.2.tar.gz" } ] }