{ "info": { "author": "Paul J. Davis", "author_email": "paul.joseph.davis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries" ], "description": "Trawl - Another tool in the shed\n================================\n\nThis is as straight of a clone of Rake that I could come up with.\n\nBriefly:\n::\n\n # Trawlfile\n @task\n def bar():\n print \"BAR!\"\n\nDoes as you might expect:\n::\n\n $ trawl -T\n bar\n $ trawl bar\n ** Execute bar\n BAR\n\nAnd with dependencies:\n::\n\n # Trawlfile\n @task\n def bar():\n print \"BAR!\"\n\n @task([bar])\n def foo():\n print \"FOO!\"\n\nAlso does what you'd expect:\n::\n\n $ trawl -T\n bar\n foo\n $ trawl bar\n ** Execute bar\n BAR!\n $ trawl foo\n ** Execute bar\n BAR!\n ** Execute foo\n FOO!\n\nWhich is awesome sauce, but what about files?\n::\n\n # Trawlfile\n @build(\"myfile.txt\", recreate=False)\n def run(task):\n with open(task.name) as out:\n out.write(\"MUNCTIONAL!\")\n\n @build(\"yup.cfg\", [\"myfile.txt\"])\n def more(task):\n with open(task.name) as out:\n with open(task.source) as src:\n out.write(src.read() + \"!!!1!\")\n\nWill cause \"myfile.txt\" to be created but not overwritten if it exists.\n\"yup.cfg\" will then only be rebuilt when \"myfile.txt\" changes as determined by\nthe file's mtime:\n::\n\n $ trawl yup.cfg\n ** Execute myfile.txt\n ** Execute yup.cfg\n $ trawl yup.cfg\n $\n\nThe last major bit is in defining rules:\n::\n\n @rule('.o', '.c'):\n def compile(task):\n subprocess.check_call([\"gcc\", \"-o\", task.name, \"-c\", task.source])\n \n objects = FileList(\"*.c\").sub(\".c$\", \".o\")\n @build(\"appname\", objects)\n def link(task):\n subprocess.check_call([\"gcc\", \"-o\", task.name] + task.sources)\n\n # Add a helpful handle for running\n task(\"run\", [\"appname\"])\n\nTODO\n++++\n\nSome things that need to be done yet:\n\n* Task descriptions\n* Argument support\n* Test and add methods to FileList\n* Add a function to import tasks programatically", "description_content_type": null, "docs_url": "https://pythonhosted.org/Trawl/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://packages.python.org/Trawl/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "Trawl", "package_url": "https://pypi.org/project/Trawl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Trawl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://packages.python.org/Trawl/" }, "release_url": "https://pypi.org/project/Trawl/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Python port of Ruby Rake", "version": "0.2.1" }, "last_serial": 785899, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2697445eb3d1416b97066e59f9c42379", "sha256": "6a84a13630dfdd8f93628cffa7924d5e02c84b7400436ee0592f389becb70a4f" }, "downloads": -1, "filename": "Trawl-0.1.tar.gz", "has_sig": false, "md5_digest": "2697445eb3d1416b97066e59f9c42379", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20119, "upload_time": "2010-02-08T17:49:45", "url": "https://files.pythonhosted.org/packages/04/5d/a3f58fab41bafcb3a88e73a997290ebf3d51c4241509e7f89c28ac87ed61/Trawl-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "821d1fdede3fd5dc8630c04e6f982701", "sha256": "f80d1eeb8c64611018fc1ca25bcac62a04cbfcdf4d8629ba5383c8fdcac05adf" }, "downloads": -1, "filename": "Trawl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "821d1fdede3fd5dc8630c04e6f982701", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21938, "upload_time": "2010-02-10T17:42:45", "url": "https://files.pythonhosted.org/packages/2c/3e/a99cf03fe24283b4c58d35163c6c9004d6b3b007fb63490845d58f2d379f/Trawl-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d3ab43dd9d553787f28d830fe4023c0a", "sha256": "e2ddbd156d70edc910fd899d5239b1e286ef2557ebd6e8b520cbe9efcb47ddd4" }, "downloads": -1, "filename": "Trawl-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d3ab43dd9d553787f28d830fe4023c0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27524, "upload_time": "2010-02-11T19:54:44", "url": "https://files.pythonhosted.org/packages/ce/16/be88d43d08ce47eff12a7b2e9c9c7d3731158721d6870461763f238f1d7e/Trawl-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a0dc5888e1c033214434799bc21ec649", "sha256": "902f0e37a168fe107632e8fff658a882e658b5d5cd50f1c4dbbe4588a73ca7a2" }, "downloads": -1, "filename": "Trawl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a0dc5888e1c033214434799bc21ec649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27570, "upload_time": "2010-02-11T23:36:41", "url": "https://files.pythonhosted.org/packages/c6/87/5dc23a17bc9ea02962afd771293c7bca079580fa4585b6d544e4fb924e56/Trawl-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0dc5888e1c033214434799bc21ec649", "sha256": "902f0e37a168fe107632e8fff658a882e658b5d5cd50f1c4dbbe4588a73ca7a2" }, "downloads": -1, "filename": "Trawl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a0dc5888e1c033214434799bc21ec649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27570, "upload_time": "2010-02-11T23:36:41", "url": "https://files.pythonhosted.org/packages/c6/87/5dc23a17bc9ea02962afd771293c7bca079580fa4585b6d544e4fb924e56/Trawl-0.2.1.tar.gz" } ] }