{ "info": { "author": "Andrew Leech", "author_email": "andrew@alelec.net", "bugtrack_url": null, "classifiers": [], "description": "Setuptools Binary Targets\n=========================\n\nDistutils/Setuptools provides a fantastic cross platform framework for\nbuilding python packages, including binary extensions using your platforms\nstandard c/c++ compiler.\n\nWhy should it be limited only to use on python pyd extensions however,\nthere's nothing to stop it being used for compiling anything with said comiler,\nsuch as executables and static libraries.\n\nWell it turns out all the functionality is already there, it just isn't really\nexposed to the end user very easily. This is easily rectified however::\n\n from setuptools import setup\n from ext_targets import build_ext, StaticLib, Executable\n\n\n setup(\n name='binaries!', # This isn't actually used in the built targets\n cmdclass={'build_ext': build_ext},\n ext_modules=ext_modules = [\n StaticLib(\n name='saveforlater',\n sources=['lib.c', 'required.c'],\n include_dirs=['../include']\n ),\n Executable(\n name='my_program',\n sources=['source.c', 'extra.cpp'],\n libraries=['libsaveforlater']\n language='c++',\n include_dirs=['../include'],\n extra_compile_args=['-static'],\n extra_link_args=['-static']\n )\n ]\n )\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.alelec.net/corona/cfficloak", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "setuptools_bin_targets", "package_url": "https://pypi.org/project/setuptools_bin_targets/", "platform": null, "project_url": "https://pypi.org/project/setuptools_bin_targets/", "project_urls": { "Homepage": "https://gitlab.alelec.net/corona/cfficloak" }, "release_url": "https://pypi.org/project/setuptools_bin_targets/1.3/", "requires_dist": null, "requires_python": null, "summary": "An add-on for setuptools to simplify building executables and static libraries", "version": "1.3" }, "last_serial": 2715406, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "1d6e1c63e589e2803e2249b2c4e63bf0", "sha256": "c8d57cd435e02c55184f01cc9b60e4ad41ba6352f8bf47e910004ad7b1c0b994" }, "downloads": -1, "filename": "setuptools_bin_targets-1.0.tar.gz", "has_sig": false, "md5_digest": "1d6e1c63e589e2803e2249b2c4e63bf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2761, "upload_time": "2016-10-26T10:56:47", "url": "https://files.pythonhosted.org/packages/57/94/b9d62572b4f9f7326abbf58acd1448e74263f86a9d4bcabf5d4ed45d6963/setuptools_bin_targets-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "6ea3158cc800c579b9e1f4863e451b3e", "sha256": "c2247e9ccb2d6957dc93166030fb0e90a66522738cc2f2b1edeba78d8416574c" }, "downloads": -1, "filename": "setuptools_bin_targets-1.1.tar.gz", "has_sig": false, "md5_digest": "6ea3158cc800c579b9e1f4863e451b3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2889, "upload_time": "2016-10-29T11:14:28", "url": "https://files.pythonhosted.org/packages/91/86/975f50c2b1f00fbcd0c64f976ad590a8901db1a4ad9d54ecce595ad117cb/setuptools_bin_targets-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "5283a86fdd284e6abea70e4350e37308", "sha256": "266ea2f92b0214e3d14525c6be8c3eb0e340ca9c6aa7a60fff2d676e6b6eba90" }, "downloads": -1, "filename": "setuptools_bin_targets-1.2.tar.gz", "has_sig": false, "md5_digest": "5283a86fdd284e6abea70e4350e37308", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2864, "upload_time": "2016-10-30T03:19:02", "url": "https://files.pythonhosted.org/packages/92/41/f7c0231273a8b76d6133df028508c8b6e260f46464c62304775f3c6cb3f2/setuptools_bin_targets-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "942c3ce6443694e24c200eb632ba9506", "sha256": "ebdbd0dcef10024a3fabe74845a76f890458a250fe09a656835f3f8de0de0377" }, "downloads": -1, "filename": "setuptools_bin_targets-1.3.tar.gz", "has_sig": false, "md5_digest": "942c3ce6443694e24c200eb632ba9506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2976, "upload_time": "2017-03-19T06:52:54", "url": "https://files.pythonhosted.org/packages/15/cd/55d905a085cd49066a444d33129ff6164fd42bfd59d3f03f03fab231aeab/setuptools_bin_targets-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "942c3ce6443694e24c200eb632ba9506", "sha256": "ebdbd0dcef10024a3fabe74845a76f890458a250fe09a656835f3f8de0de0377" }, "downloads": -1, "filename": "setuptools_bin_targets-1.3.tar.gz", "has_sig": false, "md5_digest": "942c3ce6443694e24c200eb632ba9506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2976, "upload_time": "2017-03-19T06:52:54", "url": "https://files.pythonhosted.org/packages/15/cd/55d905a085cd49066a444d33129ff6164fd42bfd59d3f03f03fab231aeab/setuptools_bin_targets-1.3.tar.gz" } ] }