{ "info": { "author": "Nick Whyte", "author_email": "nick@nickwhyte.com", "bugtrack_url": null, "classifiers": [], "description": "Python Maketools\n=============\n\nCustomisable build targets for python.\n\nThis module is part of the flask-boilerplate project.\n\n- `flask-boilerplate `_\n- `flask-boilerplate-buildutils `_\n- `flask-boilerplate-utils `_\n- `maketools `_\n\n\nBasic Usage\n------------\n\nDefine a target by subclassing the Target class\n\n.. code-block:: python\n\n from maketools import Target\n\n class MyTarget(Target):\n sh_build_commands = ('ls -la',\n 'mkdir test',\n 'echo {VARIABLE}')\n\n depends = ('requirements.txt')\n output = 'myfile.txt'\n\n # And when you're ready to use it\n top_target = MyTarget()\n top_target.build(format_dict={'VARIABLE': 'HELLO'})\n\n\nFor further documentation of the Target class, see `readthedocs `_. It has a few more options for extendability. \n\n\nAdvanced Target\n-----------------\n\n.. code-block:: python\n\n from maketools import Target\n\n class MyOtherTarget(Target):\n # Define another target just to use it as a dependency. \n pass\n\n class MyTarget(Target):\n sh_build_commands = ('ls -la',\n 'mkdir test')\n depends = ('requirements.txt')\n output = 'myfile.txt'\n echo = True\n always_build = False\n depends = (MyOtherTarget, 'requirements.txt')\n\n def py_build_commands()\n print (\"Do something in python\")", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nickw444/python-maketools", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "maketools", "package_url": "https://pypi.org/project/maketools/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/maketools/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nickw444/python-maketools" }, "release_url": "https://pypi.org/project/maketools/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Add build prerequisites to your python project.", "version": "0.1.4" }, "last_serial": 1358989, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "22352a3b83e9f7e34a30dc7260343464", "sha256": "d953951352686dd2fb817d1f16269dab3d8348746e1ddd2cd2d8b6e54f8522e7" }, "downloads": -1, "filename": "maketools-0.1.0.tar.gz", "has_sig": false, "md5_digest": "22352a3b83e9f7e34a30dc7260343464", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2448, "upload_time": "2014-12-21T02:59:39", "url": "https://files.pythonhosted.org/packages/da/01/9f21c16185fef259de9d18f386a4860d36abd16e01062a4b19034314457a/maketools-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6786f872c2bb9dceee0e96d7059057d8", "sha256": "b5fc3a11b6913542c6557c9ad6460f54c8a84662dc4eadc509eeb51bb10d4f26" }, "downloads": -1, "filename": "maketools-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6786f872c2bb9dceee0e96d7059057d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2413, "upload_time": "2014-12-21T03:18:39", "url": "https://files.pythonhosted.org/packages/23/7e/759990af245547f3bddcbc63056b37f0fd5ce5ed9441ed233acef1b9eb80/maketools-0.1.1.tar.gz" } ], "0.1.2": [], "0.1.3": [ { "comment_text": "", "digests": { "md5": "cb33968da3f5aff313aeca2fe14c87b9", "sha256": "e83d0f37abc4ac2794bc12e892c44f25e69b0f10687b6a2140b839884439d401" }, "downloads": -1, "filename": "maketools-0.1.3.tar.gz", "has_sig": false, "md5_digest": "cb33968da3f5aff313aeca2fe14c87b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3672, "upload_time": "2014-12-21T09:11:27", "url": "https://files.pythonhosted.org/packages/68/80/d8dfc960dd707300d81224e5620c9183acd4ab6484508904cbbbf7df03c1/maketools-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "79bf0b530243a0a2980306386e240cf3", "sha256": "001ad284b1b197fbf6002d44952edaa9ee31fae5c925d69910dab45a3330879f" }, "downloads": -1, "filename": "maketools-0.1.4.tar.gz", "has_sig": false, "md5_digest": "79bf0b530243a0a2980306386e240cf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3849, "upload_time": "2014-12-23T15:59:46", "url": "https://files.pythonhosted.org/packages/ee/12/09544ddf0232e0e50f4b0664c43df6f23ba76ad7822e4b6ad1b75d008cc2/maketools-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79bf0b530243a0a2980306386e240cf3", "sha256": "001ad284b1b197fbf6002d44952edaa9ee31fae5c925d69910dab45a3330879f" }, "downloads": -1, "filename": "maketools-0.1.4.tar.gz", "has_sig": false, "md5_digest": "79bf0b530243a0a2980306386e240cf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3849, "upload_time": "2014-12-23T15:59:46", "url": "https://files.pythonhosted.org/packages/ee/12/09544ddf0232e0e50f4b0664c43df6f23ba76ad7822e4b6ad1b75d008cc2/maketools-0.1.4.tar.gz" } ] }