{ "info": { "author": "Pawel Warzecha", "author_email": "pawel.warzecha@yahoo.com", "bugtrack_url": null, "classifiers": [], "description": "# py_buildsysten\n\npy_buildsystem is a python based buildsystem. It is configured using *yaml* files.\n\n## Instalation\n\nThe py_buildsytem can be installed using pip, or it can be installed from the source code.\n\n### from pip\n\n```\npip install py_buildsystem\n```\n\n### from source code\n\n```\ngit clone https://github.com/ProrokWielki/py_buildsystem.git\ncd py_buildsystem\npython setup.py install\n```\n\n\n## Usage\n\nTo run the package use this command:\n\n```\nusage: py_buildsystem [-h] [-v] -pcc PROJECT_COMPILER_CONFIG -pc PROJECT_CONFIG [compiler path]\n```\n\nOptions:\n\n```\npositional arguments:\n compiler path Path to compiler\n\noptional arguments:\n -h, --help show this help message and exit\n -pcc PROJECT_COMPILER_CONFIG, --project_compiler_config PROJECT_COMPILER_CONFIG\n Project specific toolchain configuration file\n -pc PROJECT_CONFIG, --project_config PROJECT_CONFIG\n Project configuration file\n -v, --verbose verbose mode\n```\n\nTo use this buildsystem you have to provide two *yaml* files:\n\n* project configuration, \n* project specific toolchain configuration.\n\nIf your toolchain is not in the *PATH* you have to provide its path to the toolchain\n\n\n### Project configuration\n\n\nThis file contains definitions of the steps to be peformed, compiler definitions and includes.\n\nAvailable steps:\n\n* compile,\n* link,\n* git,\n* command. \n\nProject configuration file example:\n\n```\ndefines:\n - STM32L452xx\n\nincludes:\n - ../../LIB/CMSIS/Device/ST/STM32L4xx/Include\n - ../../LIB/CMSIS/Include\n\nsteps:\n - compile MCU:\n source_directories: \n - ../../MCU\n\n output_direcotry: ../../Output/Obj/MCU\n\n types:\n - .c\n - .s\n\n - link Everything:\n source_directories:\n - ../../Output/Obj\n\n output_file: ../../Output/file.elf\n\n types:\n - .o\n```\n\n\n#### Step compile\n\nOptions available:\n\n* source directories -- list of directories in which the files to compile are located,\n* output directory -- directory to which the output files will be written,\n* types -- file types to be compiled,\n* search_subdirectories -- defines if the sub directories are searched (optional -- default = False).\n* additional_flags -- list of additional flags for this step (optional)\n\n#### Step link\n\nOptions available:\n\n* source_directories -- list of directories where object files are located,\n* output_file -- executable file which will be created after linking,\n* types -- file types to be linked.\n* additional_flags -- list of additional flags for this step (optional)\n\n#### Step git\n\nOptions available:\n\n* repo_location -- location of the repository\n* destination -- repository clone destination\n* branch -- branch to clone (optional -- default = master)\n\n#### Step command\n\nOptions available:\n\n* location -- location from where to perform commands\n* commands -- list of commands to call\n\n### Project specific toolchain configuration\n\nThis file defines three thinks:\n\n* toolchain to be used,\n* compilator flags,\n* linker flags.\n\nProject specific toolchain configuration file example:\n\n```\ncompiler: GCC_ARM\n\ncompiler_flags:\n - -mcpu=cortex-m4\n\nlinker_flags:\n - --specs=nosys.specs\n - -T ../../MCU/STM32L452RETx_FLASH.ld\n```\n\n### Toolchain configuration\n\nEvery toolchain has to have its configuration file. The file contains basic inforamtion about the toolchain, executables names and defines basic flags used by the toolchain. \n\nCurrently supported toolchains:\n* arm-none-eabi-gcc -- GCC_ARM,\n* arm-none-eabi-g++ -- G++_ARM,\n* gcc -- GCC.\n* g++ -- G++\n\nIf the toolchain you wish to use is not supported you can add the configuration file to the project.\n\nToolchain configuration file example:\n\n```\ncompiler: arm-none-eabi-gcc\nlinker: arm-none-eabi-gcc\n\ndefine_flag: -D\noutput_flag: -o\ncompile_flag: -c\ninclude_flag: -I\ncomand_line_file: \"-Wl,@\"\nversion_flag: --version\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/ProrokWielki/py_buildsystem", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "py-buildsystem", "package_url": "https://pypi.org/project/py-buildsystem/", "platform": "", "project_url": "https://pypi.org/project/py-buildsystem/", "project_urls": { "Homepage": "https://github.com/ProrokWielki/py_buildsystem" }, "release_url": "https://pypi.org/project/py-buildsystem/0.6.3/", "requires_dist": null, "requires_python": "", "summary": "python based build system.", "version": "0.6.3" }, "last_serial": 5407185, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a0cafeca0faa8b70e0a3f9715604d7a8", "sha256": "d309b614e21715cd51e55d401b61d22fd862850aacb25500fcfbbc8b4687de96" }, "downloads": -1, "filename": "py_buildsystem-0.1-py3.7.egg", "has_sig": false, "md5_digest": "a0cafeca0faa8b70e0a3f9715604d7a8", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 35947, "upload_time": "2019-01-12T22:49:30", "url": "https://files.pythonhosted.org/packages/bb/57/fdcf4f7c02038838a9525ad69ec77bf7e141deb629509b01dcfdee8f6b19/py_buildsystem-0.1-py3.7.egg" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "cfa2b6da652716b1523b46309973a8ee", "sha256": "9405b13fb84da342aa68774cb8611827270625508408e35325f6560ad705c5a7" }, "downloads": -1, "filename": "py_buildsystem-0.2-py3.7.egg", "has_sig": false, "md5_digest": "cfa2b6da652716b1523b46309973a8ee", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 35872, "upload_time": "2019-01-12T22:49:33", "url": "https://files.pythonhosted.org/packages/fb/02/04c0e68c788c581be91362d8cef5b6b7b85f81531eab895c9d70972ac2e0/py_buildsystem-0.2-py3.7.egg" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a0f4025c068ea4af4eb2bd896cde0348", "sha256": "56fd880bd17f9fcea12255a14efc5446d794d1eefc345a3b746714be83a8d47f" }, "downloads": -1, "filename": "py_buildsystem-0.3-py3.7.egg", "has_sig": false, "md5_digest": "a0f4025c068ea4af4eb2bd896cde0348", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 36557, "upload_time": "2019-01-12T22:49:34", "url": "https://files.pythonhosted.org/packages/f8/da/117d097abd365f8fc1de1a58d2049c29a25f13760d0d99f39271f50116a1/py_buildsystem-0.3-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "3801c07d66bb2f1695312b3a5784e1a0", "sha256": "e42592ea4e8edd237a8118eea20059483202e725756090a37605fb112f301277" }, "downloads": -1, "filename": "py_buildsystem-0.3.tar.gz", "has_sig": false, "md5_digest": "3801c07d66bb2f1695312b3a5784e1a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9699, "upload_time": "2019-01-12T22:49:36", "url": "https://files.pythonhosted.org/packages/e5/73/fea654d5e57c80b9172912b5c6ae64aedcefffed6c51f68ab91ec4d4868e/py_buildsystem-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "114f524b304fb7cce4b3e9abde56e151", "sha256": "aac21eb9548404885a4aeeb6612a94a9aa9bde9b2d28005033a3ce9c05d2aad1" }, "downloads": -1, "filename": "py_buildsystem-0.3.1.tar.gz", "has_sig": false, "md5_digest": "114f524b304fb7cce4b3e9abde56e151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12341, "upload_time": "2019-01-13T12:23:58", "url": "https://files.pythonhosted.org/packages/c9/6e/2f3085b21e2343acf8bda90c637df274867f17dafcaf889de08bf191bc37/py_buildsystem-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "bff16fb578bcf956ceb0a8a3d5b0c3a1", "sha256": "7a097cca86e6c9114ccd83306ef1e1f4536d8ead8e1e469c6c5224754f7cc926" }, "downloads": -1, "filename": "py_buildsystem-0.3.2.tar.gz", "has_sig": false, "md5_digest": "bff16fb578bcf956ceb0a8a3d5b0c3a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12337, "upload_time": "2019-01-13T17:17:03", "url": "https://files.pythonhosted.org/packages/94/ac/dfa7c25eb2a78de0bfbbbd9c1763949ee795387409d5ef961c6cd573e1d2/py_buildsystem-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "6f5669b6b2e6dfda61551cbd2c32ee1a", "sha256": "c52cd29e76320d7589189bf330053c5430d2588bce39fadef73867dc10c297ee" }, "downloads": -1, "filename": "py_buildsystem-0.3.3.tar.gz", "has_sig": false, "md5_digest": "6f5669b6b2e6dfda61551cbd2c32ee1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12339, "upload_time": "2019-01-13T17:21:59", "url": "https://files.pythonhosted.org/packages/ef/60/ba3fc32b6d53b275876fe82bf73b029d3b1a0ab31b5c3774df239de5aba4/py_buildsystem-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "499e4c69e77b1e4e023fadb313ba5b87", "sha256": "b9c38c10712d01a536e5317eee90baa57ebae809fb3a4cb2a1b9865845f7b6d7" }, "downloads": -1, "filename": "py_buildsystem-0.3.4-py3.7.egg", "has_sig": false, "md5_digest": "499e4c69e77b1e4e023fadb313ba5b87", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 41219, "upload_time": "2019-01-14T19:36:20", "url": "https://files.pythonhosted.org/packages/68/ba/9ca875325ebbdbdcc188b2ed8b2b317dfd1b0511b2b545f2becc672c1c18/py_buildsystem-0.3.4-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "82c8e05836f045ce0aa0e4231d4fc562", "sha256": "bb49cfc7e57d53b9f7078cfc5bd3ea9c055aa3c05b456bd89d78d2d1f5cd25a3" }, "downloads": -1, "filename": "py_buildsystem-0.3.4.tar.gz", "has_sig": false, "md5_digest": "82c8e05836f045ce0aa0e4231d4fc562", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12335, "upload_time": "2019-01-13T18:15:50", "url": "https://files.pythonhosted.org/packages/16/00/627e78f76d6a65900c9f593a2b309d009268fed33c743907595f6dce0263/py_buildsystem-0.3.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "435eac4fab3a8c1f2a0f46adfaa9e0ee", "sha256": "fc2ac3f71eac9bb2e6510c355bee843215de7896f9d2747147064cb7a4056a34" }, "downloads": -1, "filename": "py_buildsystem-0.4.0-py3.7.egg", "has_sig": false, "md5_digest": "435eac4fab3a8c1f2a0f46adfaa9e0ee", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 41397, "upload_time": "2019-01-14T19:36:22", "url": "https://files.pythonhosted.org/packages/c6/86/3b6b4a83fbbea8d0c0aaf9dd9e5e34e83df00c50a8d530be13760b208e32/py_buildsystem-0.4.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "87923735c2909e8aea3622f9750ecfa3", "sha256": "ad7a1524f30373308aea6935b470ae5ed23e4433b60cfec4da18c644f9e43d1d" }, "downloads": -1, "filename": "py_buildsystem-0.4.0.tar.gz", "has_sig": false, "md5_digest": "87923735c2909e8aea3622f9750ecfa3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13056, "upload_time": "2019-01-14T19:36:24", "url": "https://files.pythonhosted.org/packages/a2/37/1a0af9ffd3b819b9df248ab546b0ff304f0c4babac65fb8f8e4768d45f1f/py_buildsystem-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "bc5fbf478ae72794e070ff73a98bb271", "sha256": "5a1475eb9bfc71d9034504464dc3d6ad1a78560b9ebd64917d69a9c4a4e1e3f1" }, "downloads": -1, "filename": "py_buildsystem-0.4.1.tar.gz", "has_sig": false, "md5_digest": "bc5fbf478ae72794e070ff73a98bb271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13247, "upload_time": "2019-01-14T19:42:36", "url": "https://files.pythonhosted.org/packages/0f/d6/fdabaa7097d7bdf52723688d346a9e220f0453f63592d37301b30bc16737/py_buildsystem-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "2f70a64761272c406ce2fd3ae7ba2d34", "sha256": "c416df18dd5138a25b9ab454ffb03c1ef7c7e28116b679b4012a90de21fc82d7" }, "downloads": -1, "filename": "py_buildsystem-0.4.2.tar.gz", "has_sig": false, "md5_digest": "2f70a64761272c406ce2fd3ae7ba2d34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13694, "upload_time": "2019-02-16T18:10:49", "url": "https://files.pythonhosted.org/packages/38/98/3a18cb1c933493da32ee3852fbd4d813081d8966e86859d74755d29b196e/py_buildsystem-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "7a18437b7e9ddf5e3bf436d056107d2c", "sha256": "717819bea7b71a21ddac8d7d1f2f62785e0bb5884b39de8ac33567174242f30f" }, "downloads": -1, "filename": "py_buildsystem-0.4.3-py3.7.egg", "has_sig": false, "md5_digest": "7a18437b7e9ddf5e3bf436d056107d2c", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 41723, "upload_time": "2019-03-02T09:51:47", "url": "https://files.pythonhosted.org/packages/d8/7a/fc23a38bca10ad7c1c053f7f9db4ea40f4b9ad220f122b646d36d8286187/py_buildsystem-0.4.3-py3.7.egg" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "fe71acf4be7fc0153a42d22357b15156", "sha256": "6e5c19f9ab99d5479f43ca5ab02a6d6062b6822cf1ac031184d404cddf065719" }, "downloads": -1, "filename": "py_buildsystem-0.4.4-py3.7.egg", "has_sig": false, "md5_digest": "fe71acf4be7fc0153a42d22357b15156", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 41724, "upload_time": "2019-03-02T09:56:34", "url": "https://files.pythonhosted.org/packages/3f/b7/3af1c0a7a86b8f63d315df4d93b06692c789b9e4973b81bfedeec3b3fe52/py_buildsystem-0.4.4-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "cbd9f07fb3d0fe16faf4eafe568cbbd5", "sha256": "bc20d0886d8ae61dbd778c3227dc58efa36932aa82b92c127359b39b407b69b1" }, "downloads": -1, "filename": "py_buildsystem-0.4.4.tar.gz", "has_sig": false, "md5_digest": "cbd9f07fb3d0fe16faf4eafe568cbbd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14320, "upload_time": "2019-06-08T19:44:11", "url": "https://files.pythonhosted.org/packages/39/95/07de09014738b0a8f17236b085c07a2be5c188791928fa4f51a2ab201a7e/py_buildsystem-0.4.4.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "3f4e475475cc8da4ad08c7bf44c95cdc", "sha256": "aad3603258b7d43aa7bfe44c305689546bf94af81c2a3c71afaea7853de9616f" }, "downloads": -1, "filename": "py_buildsystem-0.5.0.tar.gz", "has_sig": false, "md5_digest": "3f4e475475cc8da4ad08c7bf44c95cdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14318, "upload_time": "2019-06-08T19:44:13", "url": "https://files.pythonhosted.org/packages/2f/58/78b202147cf06696a84176d63d249c3f88776fc0e46565cc4d3b47f2d4cd/py_buildsystem-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "709459735f9ebe5ddfa865af538b7bc0", "sha256": "f4282a4517443711357700fe91e8ccca04ce36c882a296eaa00a9668da4ce320" }, "downloads": -1, "filename": "py_buildsystem-0.6.0-py3.7.egg", "has_sig": false, "md5_digest": "709459735f9ebe5ddfa865af538b7bc0", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 49469, "upload_time": "2019-06-15T09:05:58", "url": "https://files.pythonhosted.org/packages/26/20/36f9504f270f5bee49f583ef99c74ff435d98cfd99bef3938e76476e290a/py_buildsystem-0.6.0-py3.7.egg" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "de289a89dbafcad6e48e02ad61c86946", "sha256": "f3b83cb11997d1dd5697e473fbdefd333f0ef73a41c0d35498c17fe4f2dd3146" }, "downloads": -1, "filename": "py_buildsystem-0.6.1-py3.7.egg", "has_sig": false, "md5_digest": "de289a89dbafcad6e48e02ad61c86946", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 49487, "upload_time": "2019-06-15T10:52:41", "url": "https://files.pythonhosted.org/packages/53/25/e5b6cfa91616ab2905b9fc30a70fbea34a220dcac3f0ccea20937f505956/py_buildsystem-0.6.1-py3.7.egg" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "c445683e3228ce762faf29319af147de", "sha256": "d49dc7f70f6fcbf7777ac505c09fdb3047577d7598d5a725fe7cede01efc1474" }, "downloads": -1, "filename": "py_buildsystem-0.6.2-py3.7.egg", "has_sig": false, "md5_digest": "c445683e3228ce762faf29319af147de", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 49560, "upload_time": "2019-06-15T11:58:05", "url": "https://files.pythonhosted.org/packages/44/b3/a849379a23ab00e03b076cb0bbf2aea9e91a3e889a8b815d00e36565bfa1/py_buildsystem-0.6.2-py3.7.egg" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "7174ce5fddbdfb54bebe59232917ddc5", "sha256": "b39410c373fee764f36683122d63d4d05bcb50a05ac70eabe6876f733620b931" }, "downloads": -1, "filename": "py_buildsystem-0.6.3-py3.7.egg", "has_sig": false, "md5_digest": "7174ce5fddbdfb54bebe59232917ddc5", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 49604, "upload_time": "2019-06-16T18:38:49", "url": "https://files.pythonhosted.org/packages/ad/6e/7f6a74e15f52110c05c7b8293380547ffb4e4fb0b455aae4d55d1c48c110/py_buildsystem-0.6.3-py3.7.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7174ce5fddbdfb54bebe59232917ddc5", "sha256": "b39410c373fee764f36683122d63d4d05bcb50a05ac70eabe6876f733620b931" }, "downloads": -1, "filename": "py_buildsystem-0.6.3-py3.7.egg", "has_sig": false, "md5_digest": "7174ce5fddbdfb54bebe59232917ddc5", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 49604, "upload_time": "2019-06-16T18:38:49", "url": "https://files.pythonhosted.org/packages/ad/6e/7f6a74e15f52110c05c7b8293380547ffb4e4fb0b455aae4d55d1c48c110/py_buildsystem-0.6.3-py3.7.egg" } ] }