{ "info": { "author": "Farzad Ghanei", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Archiving :: Packaging", "Topic :: System :: Systems Administration" ], "description": "***********\nDistutilazy\n***********\n\n.. image:: https://travis-ci.org/farzadghanei/distutilazy.svg?branch=master\n :target: https://travis-ci.org/farzadghanei/distutilazy\n\n.. image:: https://ci.appveyor.com/api/projects/status/q4lhncemrsnpftgv?svg=true\n :target: https://ci.appveyor.com/project/farzadghanei/distutilazy?branch=master\n\nExtra distutils commands, including:\n\n* clean_pyc: clean compiled python files\n* clean_jython_class: clean compiled .class files created by Jython\n* clean_all: using ``distutils.clean``, ``clean_pyc`` and ``clean_jython_class`` to clean all temporary files\n* bdist_pyinstaller: convenient calls for `PyInstaller `_ with sane defaults\n* test: run unit tests\n\nAn entry point script is also provided to call commands directly, currently only\nthe clean commands are exposed via the script.\n\nInstallation\n------------\nUse ``pip`` to install from PyPI:\n\n.. code-block:: bash\n\n $ pip install distutilazy\n\nTo install from the source, download the source and run\n\n.. code-block:: bash\n\n $ python setup.py install\n\nThere are no specific dependencies, distutilazy runs on Python 2.7+\n(CPython 2.7, 3.3, 3.4, 3.5, 3.6, PyPy 2.6 and PyPy3.5 are tested).\nTests pass on Jython so it should be fine for Jython as well.\n\n\nHow\n---\nAfter installing distutilazy, add ``distutilazy.command`` package to the list\nof command packages in your ``setup.cfg`` file.\n\n.. code-block:: ini\n\n [global]\n command_packages = distutilazy.command\n\nThat's it. Now you may use new commands directly from your ``setup.py``.\n\nTo clean compiled python files:\n\n.. code-block:: bash\n\n $ python setup.py clean_pyc\n\nTo clean all temporary files (build artifacts, compiled files created by CPython or Jython, etc.):\n\n.. code-block:: bash\n\n $ python setup.py clean_all\n\n\nAvailable commands are in ``distutilazy.command`` package, each command as a separate module.\n\nTo use custom command names for the same functionality, use command classes defined in distutilazy modules\n(each module might define more than a single command class).\n\nThe modules should be imported in `setup.py`, then desired classes might be assigned to command names\nusing the ``cmdclass`` parameter.\n\n.. code-block::\n\n import distutilazy.clean\n\n setup(\n cmdclass: {\n 'clean_pyc': distutilazy.clean.CleanPyc,\n 'clean_jython': distutilazy.clean.CleanJythonClass,\n 'clear': distutilazy.clean.CleanAll\n }\n )\n\nTo extend (or customize) the behavior of the command classes define a class extending from these command classes,\nand use that custom class in ``cmdclass``.\n\nEntry Point Script\n^^^^^^^^^^^^^^^^^^\nThe `distutilazy` script provides a direct access to the commands. call it with\n`-h` or `--help` to see available commands. For example this command runs\nthe `clean_all` command (provided by distutilazy package) directly, even\nwithout a `setup.py` or `setup.cfg`.\n\n\n.. code-block:: bash\n\n $ distutilazy clean_all\n\n\nDevelopment\n-----------\n* Code is hosted on `GitHub `_.\n* Documentations are on `Read The Docs `_.\n\n\nTests\n^^^^^\nIf you have make available\n\n.. code-block:: bash\n\n $ make test\n\nYou can always use ``setup.py`` to run tests:\n\n.. code-block:: bash\n\n $ python setup.py test\n\n\nLicense\n-------\nDistutilazy is released under the terms of `MIT license `_.\n\nThe MIT License (MIT)\n\nCopyright (c) 2014-2018 Farzad Ghanei\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/farzadghanei/distutilazy/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "distutilazy", "package_url": "https://pypi.org/project/distutilazy/", "platform": "", "project_url": "https://pypi.org/project/distutilazy/", "project_urls": { "Homepage": "http://github.com/farzadghanei/distutilazy/" }, "release_url": "https://pypi.org/project/distutilazy/0.5.1/", "requires_dist": null, "requires_python": "", "summary": "Extra distutils commands", "version": "0.5.1" }, "last_serial": 4136073, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "5f9541bd6e8ac4aaab62068c7db8f198", "sha256": "050b9bb1a4798910e503c47aa3899175ccaec51f83afa591d496f01147868ca9" }, "downloads": -1, "filename": "distutilazy-0.2.1.tar.gz", "has_sig": true, "md5_digest": "5f9541bd6e8ac4aaab62068c7db8f198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10107, "upload_time": "2015-01-10T03:58:48", "url": "https://files.pythonhosted.org/packages/f6/44/c384a4f1b8b4230508c3c4aefef0d2d54658b69001eb26d4a9da7154678c/distutilazy-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "1ae73c0a805bb66d353c2b4a81e54685", "sha256": "fd90e3333d012da5083b0c79170d330a5b1f49c87a6a9bea3b73e4529420c7c8" }, "downloads": -1, "filename": "distutilazy-0.3.0.tar.gz", "has_sig": true, "md5_digest": "1ae73c0a805bb66d353c2b4a81e54685", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10229, "upload_time": "2015-01-11T07:46:47", "url": "https://files.pythonhosted.org/packages/a2/b9/8c1ae7f2674ef693fea7d3669a598b7b70e46ab4de50ee185a43c99edbce/distutilazy-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "3f37b33ab9b897617e66330b3bb8ae06", "sha256": "166c45bf9e82eb5cdba89660ffcf63a7f613822ecaf93191378c35f1adbc2a0e" }, "downloads": -1, "filename": "distutilazy-0.3.1.tar.gz", "has_sig": true, "md5_digest": "3f37b33ab9b897617e66330b3bb8ae06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10243, "upload_time": "2015-02-22T12:20:23", "url": "https://files.pythonhosted.org/packages/5c/8f/81b575d9ff366740f94a6a858932d36b5687855939ebce66a326ecc22e05/distutilazy-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "45a57404c100810e9f56f2249518a7bd", "sha256": "29029d161531fcb03228b7dfc96388e1d20e44bca40093b895d5008140bda681" }, "downloads": -1, "filename": "distutilazy-0.3.2.tar.gz", "has_sig": true, "md5_digest": "45a57404c100810e9f56f2249518a7bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10571, "upload_time": "2015-04-25T02:43:38", "url": "https://files.pythonhosted.org/packages/67/fd/37c83031895e1059903733b092916b683d3785d8795898a109446123b5d2/distutilazy-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "f403e1f960a0640930d85755f5b782f2", "sha256": "b6798398dc215f365bdc2f043712036320ad756c4aa018da5229545afe11c9ab" }, "downloads": -1, "filename": "distutilazy-0.4.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f403e1f960a0640930d85755f5b782f2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13087, "upload_time": "2015-10-14T06:52:31", "url": "https://files.pythonhosted.org/packages/e5/b9/378d5facd96ecc7612e96a171c8330a41df6f9aadc995414b884fd44a2a6/distutilazy-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a10e4ea6ac8d036aa76c535bc86fb2f8", "sha256": "2787086e39e4a0efa1c640a16a04e71a0b9fe049b0d6d815066bc4fe7c130581" }, "downloads": -1, "filename": "distutilazy-0.4.0.tar.gz", "has_sig": true, "md5_digest": "a10e4ea6ac8d036aa76c535bc86fb2f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10757, "upload_time": "2015-10-14T06:52:46", "url": "https://files.pythonhosted.org/packages/1c/ac/678dc6b29de3428670375de6cedeb4c5780684b563b12c659756c4ab3aab/distutilazy-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "0d7b7321003f59eaaf1cb56d019a9e5f", "sha256": "77cce1748d3220c7949171d3c84e003836d27a746c28584bf183dddcafa8c7b6" }, "downloads": -1, "filename": "distutilazy-0.4.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "0d7b7321003f59eaaf1cb56d019a9e5f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13086, "upload_time": "2015-10-14T07:48:00", "url": "https://files.pythonhosted.org/packages/bf/9c/4cf26cffa514ae44ef0eb12787a119dd713e0de669e48742eff0804ce7c6/distutilazy-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1a99669e45fd49321edeba2c61e89bf", "sha256": "fe45af7d027a45ce2e7af594423bb67768d04d06f3403f750d143e0bb92c7010" }, "downloads": -1, "filename": "distutilazy-0.4.1.tar.gz", "has_sig": true, "md5_digest": "b1a99669e45fd49321edeba2c61e89bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10766, "upload_time": "2015-10-14T07:48:19", "url": "https://files.pythonhosted.org/packages/e0/72/b94a0894b4e6e8ab9766f3651c28e7aa921f28e8809a9d2045b589db8044/distutilazy-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "f1550de5cbc9ee3f695dc09c4df4e260", "sha256": "c086f9c15d01eb2ef58064db3994ccccbc64313000680f8adc18d17b62c12b1b" }, "downloads": -1, "filename": "distutilazy-0.4.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f1550de5cbc9ee3f695dc09c4df4e260", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13577, "upload_time": "2016-06-26T16:23:04", "url": "https://files.pythonhosted.org/packages/ef/56/57a5dfc9aedc126c32fc5c2f766e0ffd4e3ff379b8650ecaa8bcd58aa186/distutilazy-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6feddbc80b965d860e904b085dd181e4", "sha256": "71c8fca135d0663b0a074b7e03f3546768d1e1264deae17ad2549250bb0a59c2" }, "downloads": -1, "filename": "distutilazy-0.4.2.tar.gz", "has_sig": true, "md5_digest": "6feddbc80b965d860e904b085dd181e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11901, "upload_time": "2016-06-26T16:23:20", "url": "https://files.pythonhosted.org/packages/7e/64/0e0c6ed41594664036feb3a3fd5da303e78bb8baa6a93e83f32bbdd34845/distutilazy-0.4.2.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "feac133a9c697aa2436680679721ba3b", "sha256": "471f50dc9276393161f9c4b906649895ebba0c4bff50783f54a8a02af54d21c9" }, "downloads": -1, "filename": "distutilazy-0.5.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "feac133a9c697aa2436680679721ba3b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13314, "upload_time": "2018-08-04T19:50:13", "url": "https://files.pythonhosted.org/packages/7a/36/38f6663d476f6f15bd15e1ae608c3653cfa0be63950f556037ca485cd5b3/distutilazy-0.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06d5eacf05ccabbd6e7adcff4cdea1ab", "sha256": "c62452c8a4c5dbac0bb0f74c08c6da450bf9e85a8881590e7610af6b798bfad9" }, "downloads": -1, "filename": "distutilazy-0.5.1.tar.gz", "has_sig": true, "md5_digest": "06d5eacf05ccabbd6e7adcff4cdea1ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14816, "upload_time": "2018-08-04T19:50:43", "url": "https://files.pythonhosted.org/packages/ac/dd/a4a0cec23a6875f7c880270527a6cf09314eb5895c26424f7bb000e7f0ba/distutilazy-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "feac133a9c697aa2436680679721ba3b", "sha256": "471f50dc9276393161f9c4b906649895ebba0c4bff50783f54a8a02af54d21c9" }, "downloads": -1, "filename": "distutilazy-0.5.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "feac133a9c697aa2436680679721ba3b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13314, "upload_time": "2018-08-04T19:50:13", "url": "https://files.pythonhosted.org/packages/7a/36/38f6663d476f6f15bd15e1ae608c3653cfa0be63950f556037ca485cd5b3/distutilazy-0.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06d5eacf05ccabbd6e7adcff4cdea1ab", "sha256": "c62452c8a4c5dbac0bb0f74c08c6da450bf9e85a8881590e7610af6b798bfad9" }, "downloads": -1, "filename": "distutilazy-0.5.1.tar.gz", "has_sig": true, "md5_digest": "06d5eacf05ccabbd6e7adcff4cdea1ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14816, "upload_time": "2018-08-04T19:50:43", "url": "https://files.pythonhosted.org/packages/ac/dd/a4a0cec23a6875f7c880270527a6cf09314eb5895c26424f7bb000e7f0ba/distutilazy-0.5.1.tar.gz" } ] }