{ "info": { "author": "SiLeader", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Natural Language :: Japanese", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows :: Windows 10", "Operating System :: Microsoft :: Windows :: Windows 7", "Operating System :: Microsoft :: Windows :: Windows 8", "Operating System :: Microsoft :: Windows :: Windows 8.1", "Operating System :: POSIX", "Topic :: Software Development :: Build Tools" ], "description": "# irori - build tool\n\nCopyright 2019 SiLeader.\n\n## features\n+ configuration file is Python script\n+ suffix rule\n+ concurrent execution\n\n## how to use\n```bash\npip install irori\n```\n\nwrite configuration script (`makefile.py`).\n\n```python\nfrom irori.rules import SuffixRule, StaticRule, LinkRule\nfrom irori import context as ctxt, runner\nfrom irori.depend import Dependencies\n\nimport glob\n\n\ntarget = 'hello.elf'\n\n\ndef build(_: ctxt.BuildContext):\n return LinkRule(\n command='clang++ -fPIC -o $@ $^',\n debug='-O0 -g',\n release='-O2',\n rules=SuffixRule(\n cpp=StaticRule('g++ -std=c++11 -c $< -o $@', debug='-O0 -g', release='-O2'),\n c=StaticRule('gcc -std=c11 -c -O2 $< -o $@', debug='-O0 -g', release='-O2')\n )\n )\n\n\ndef depend(_: ctxt.BuildContext):\n return SuffixRule(\n cpp=StaticRule('g++ -MMD -c $< -o $@'),\n c=StaticRule('gcc -MMD -c $< -o $@')\n )\n\n\ndef recipes():\n return {\n 'build': build,\n 'depend': depend\n }\n\n\ndef arguments(parser):\n pass\n\n\ndef find_files(_: ctxt.BuildContext):\n return glob.glob('*.c') + glob.glob('*.cpp')\n\n\nrunner.start(\n target,\n recipes=recipes, finder=find_files,\n arguments=arguments, dependencies=Dependencies(files=glob.glob('obj/*.d'))\n)\n\n```\n\nrun in `makefile.py`'s directory.\n```bash\nirori build\n```\n\n## license\nGNU GPL version 3.0\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SiLeader/irori", "keywords": "", "license": "GPLv3.0", "maintainer": "", "maintainer_email": "", "name": "irori", "package_url": "https://pypi.org/project/irori/", "platform": "", "project_url": "https://pypi.org/project/irori/", "project_urls": { "Homepage": "https://github.com/SiLeader/irori" }, "release_url": "https://pypi.org/project/irori/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "general purpose built tool", "version": "1.0.0" }, "last_serial": 4771786, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ab704f477e1945dbcd699349a3e30c8e", "sha256": "7e249e31f19cdf1681ae0e8be3f23b9a984865fd23e213dfc880881df3481d03" }, "downloads": -1, "filename": "irori-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ab704f477e1945dbcd699349a3e30c8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21070, "upload_time": "2019-02-02T08:36:51", "url": "https://files.pythonhosted.org/packages/ae/74/2aecdac815c0da5bd4ef45e2701fa8f0fcda36de36677519583fd522e980/irori-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3c581678e7fee5db8c3da67cc48bacf", "sha256": "a9f497e576c5c7877c86192c310a4024384549b59082ebe767ec5eba3a318d01" }, "downloads": -1, "filename": "irori-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d3c581678e7fee5db8c3da67cc48bacf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18557, "upload_time": "2019-02-02T08:36:54", "url": "https://files.pythonhosted.org/packages/13/b5/d54e76ff4ff06e41d5795e6b3cd8f3d5675c51ee34ff6cc6481a5972265c/irori-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab704f477e1945dbcd699349a3e30c8e", "sha256": "7e249e31f19cdf1681ae0e8be3f23b9a984865fd23e213dfc880881df3481d03" }, "downloads": -1, "filename": "irori-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ab704f477e1945dbcd699349a3e30c8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21070, "upload_time": "2019-02-02T08:36:51", "url": "https://files.pythonhosted.org/packages/ae/74/2aecdac815c0da5bd4ef45e2701fa8f0fcda36de36677519583fd522e980/irori-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3c581678e7fee5db8c3da67cc48bacf", "sha256": "a9f497e576c5c7877c86192c310a4024384549b59082ebe767ec5eba3a318d01" }, "downloads": -1, "filename": "irori-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d3c581678e7fee5db8c3da67cc48bacf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18557, "upload_time": "2019-02-02T08:36:54", "url": "https://files.pythonhosted.org/packages/13/b5/d54e76ff4ff06e41d5795e6b3cd8f3d5675c51ee34ff6cc6481a5972265c/irori-1.0.0.tar.gz" } ] }