{ "info": { "author": "Jamie Paton", "author_email": "jamie.paton@googlemail.com", "bugtrack_url": null, "classifiers": [], "description": "Craft - idiomatic build tool for Python\n=======================================\n\nCraft is like Makefile, except everything is in native Python. \n\nInstall\n-------\n\n``pip install craft``\n\nCraft works on Python 2.7+ and Python 3.2+.\n\nCrafty files\n------------\n\nCraft will read attempt to read ``crafty.py`` in the current directory\nor the environment variable ``$CRAFTFILE``.\n\nAn example ``crafty.py``::\n\n from craft import task, depends\n\n @task\n @depends('bar', 'foo')\n def cake():\n \"\"\"\n Prints cake, and depends on foo & bar\n to run first\n \"\"\"\n print('Time for cake')\n\n @task\n def bar():\n \"\"\" Prints bar \"\"\"\n print('bar')\n\n @task\n def foo():\n print(\"Hi,I'm foo\")\n\n @task\n def auto():\n \"\"\"\n I will run when you supply no arguments to \"craft\".\n \"\"\"\n print(\"Auto - Doing my own thing. Which is 'foo' today.\")\n foo()\n\n @task\n def setup():\n \"\"\"\n I will run once on any call to \"craft\"\n \"\"\"\n print(\"Hello good sir, I'm the setup routine.\")\n\nUsage\n-----\n\nRunning ``craft -h`` in the directory containing ``crafty.py`` will\nshow the list of available tasks. Example::\n\n usage: craft [-h] [task [task ...]]\n\n positional arguments:\n task\n\n optional arguments:\n -h, --help show this help message and exit\n\n Available tasks:\n\n - cake: Prints cake, and depends on foo & bar to run first\n - auto: I will run when you supply no arguments to \"craft\".\n - setup: I will run once on any call to \"craft\"\n - foo: \n - bar: Prints bar \n\nAs you can see, the docstring for each ``@task`` function will then be represented\nin the help output, and docstrings can be omitted.\n\n\nYou can call individual tasks like:\n\n``craft foo``\n\nand run multiple tasks with one call like:\n\n``craft foo bar``\n\nHistory\n-------\nv0.2.6 - 10 Nov 2012\n\n* Fix an issue with setup.py linking to the README\n\nv0.2.3 - 14 Oct 2012\n\n* Fix error catching isolation from craft and the actual task\n\nv0.2.0 - 27 Aug 2012\n\n* Added setup() and auto() tasks\n* Added support for task dependencies via @depends\n\nv0.1.0 - 26 Aug 2012\n\nSource is available at: https://github.com/jdpaton/craft", "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/craft/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "craft", "package_url": "https://pypi.org/project/craft/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/craft/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/craft/" }, "release_url": "https://pypi.org/project/craft/0.2.6/", "requires_dist": null, "requires_python": null, "summary": "Craft - Like Makefile, but in Python.", "version": "0.2.6" }, "last_serial": 788505, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0522b3a7fe80c9162ada53104e516f38", "sha256": "8eb901f079fd06108adfa12678dc4cc1ab9748494c3ed71ee7af3a93fab2f44c" }, "downloads": -1, "filename": "craft-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0522b3a7fe80c9162ada53104e516f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1931, "upload_time": "2012-08-26T23:31:20", "url": "https://files.pythonhosted.org/packages/07/ae/0c7c7bb3ccf67cc303862577ae48cc04fe0d276cfc8829aca45caa19cb45/craft-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "033f7fd75b5a04e3fe308b142ad5c8b8", "sha256": "d7f473d038447715481b47684c08af75e3232feba106034e7e46af7bf27edf19" }, "downloads": -1, "filename": "craft-0.2.0.tar.gz", "has_sig": false, "md5_digest": "033f7fd75b5a04e3fe308b142ad5c8b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2597, "upload_time": "2012-08-28T05:56:51", "url": "https://files.pythonhosted.org/packages/4d/a4/ea10e2883856fffd21b146823c26e73208b23fd9919705bc00542d190333/craft-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "60a4cce788e8a34ca656a9531d5a05e7", "sha256": "619b6fb6c63e87d3003ea739588937f16d97ee059e0b1ab8f6bea62dcc250134" }, "downloads": -1, "filename": "craft-0.2.1.tar.gz", "has_sig": false, "md5_digest": "60a4cce788e8a34ca656a9531d5a05e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2636, "upload_time": "2012-10-15T02:35:00", "url": "https://files.pythonhosted.org/packages/7a/b2/42cb0d00b5cb7ebdd0d5946ac184c7e6adce45792313990cd023d2d4e799/craft-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "dae39ade2b3e22411478faa094cef634", "sha256": "8031a6460d981f2094e369458b817cf0c17ad96a3641cdea34d3cf882c170df6" }, "downloads": -1, "filename": "craft-0.2.2.tar.gz", "has_sig": false, "md5_digest": "dae39ade2b3e22411478faa094cef634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2677, "upload_time": "2012-10-15T02:37:15", "url": "https://files.pythonhosted.org/packages/14/d9/466fee5bab606ced125c4a6331b773ececc5de6cf5b3ca1bec4418dd46e1/craft-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "a1b0d55b5775f9019e757e81585627db", "sha256": "4ff7401e1095835dcb8c4ea79d57b4400315d9648b7f2a7acf65e893ec9f32c0" }, "downloads": -1, "filename": "craft-0.2.3.tar.gz", "has_sig": false, "md5_digest": "a1b0d55b5775f9019e757e81585627db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2676, "upload_time": "2012-10-15T02:38:04", "url": "https://files.pythonhosted.org/packages/34/08/6740a6e6b632f79a5aa0d3db16d3c639b5c4d30477aa7195e1463cfcb97b/craft-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "d75ab8ec61a5a51187102983f51e66d3", "sha256": "ad0a4ad30463ad62b3f652acc6810c575b3071ec40019178844a1083575f827f" }, "downloads": -1, "filename": "craft-0.2.4.tar.gz", "has_sig": false, "md5_digest": "d75ab8ec61a5a51187102983f51e66d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2746, "upload_time": "2012-11-11T04:50:47", "url": "https://files.pythonhosted.org/packages/37/53/7e9b972bcb1566524a06df5cb4c8623fb585ddba4df4fb7d4e3640a3da6f/craft-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "b4f69a8508b1edd858e1bb9a6c651d12", "sha256": "94d50db65961d5af4de288016a13cb13a42c6faa12eae8608a289a8012671157" }, "downloads": -1, "filename": "craft-0.2.5.tar.gz", "has_sig": false, "md5_digest": "b4f69a8508b1edd858e1bb9a6c651d12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3038, "upload_time": "2012-11-11T05:03:14", "url": "https://files.pythonhosted.org/packages/22/1c/f54f1d20572e70fcfc832b1ffe1fea7dce77a922ee43b029eefa40cd1b57/craft-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "0020491fc0e21edf40115fef2d5f3bd1", "sha256": "95db9547dd3ab28156ad40ed19231ba6bc688cbb07ff16bcfb657ac3b3e268f4" }, "downloads": -1, "filename": "craft-0.2.6.tar.gz", "has_sig": false, "md5_digest": "0020491fc0e21edf40115fef2d5f3bd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2991, "upload_time": "2012-11-11T05:17:18", "url": "https://files.pythonhosted.org/packages/61/8b/1b56f8066ee76741b7b14ed0ea7bc9614e221c2321c9de98379121a81db4/craft-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0020491fc0e21edf40115fef2d5f3bd1", "sha256": "95db9547dd3ab28156ad40ed19231ba6bc688cbb07ff16bcfb657ac3b3e268f4" }, "downloads": -1, "filename": "craft-0.2.6.tar.gz", "has_sig": false, "md5_digest": "0020491fc0e21edf40115fef2d5f3bd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2991, "upload_time": "2012-11-11T05:17:18", "url": "https://files.pythonhosted.org/packages/61/8b/1b56f8066ee76741b7b14ed0ea7bc9614e221c2321c9de98379121a81db4/craft-0.2.6.tar.gz" } ] }