{ "info": { "author": "Danilo Horta", "author_email": "horta@ebi.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "build-capi\n==========\n\n|PyPIl| |PyPIv| |Anaconda-Server Badge|\n\nBuild and distribute C/C++ static libraries via Python packages.\n\nGetting Started\n---------------\n\nYou can have a ``setup.py`` similar to\n\n.. code:: python\n\n from os.path import join\n from setuptools import setup\n\n def get_lib():\n from build_capi import CApiLib\n\n mylib = CApiLib('pkg_name.lib.nmylib',\n sources=[join('pkg_name', 'sources', 'example.c')],\n include_dirs=[join('pkg_name', 'include')])\n\n setup(\n name='pkg_name',\n # ...\n setup_requires=['build_capi'],\n capi_libs=[get_lib],\n include_package_data=True,\n data_files=[(join('pkg_name', 'include'), join('pkg_name', 'include',\n 'example.h'))],\n package_data={'': [join('pkg_name', 'lib', '*.*')]})\n\nand then have a ``pkg_name/__init__.py``\n\n.. code:: python\n\n def get_include():\n import pkg_name\n from os.path import join, dirname\n return join(dirname(pkg_name.__file__), 'include')\n\n def get_lib():\n import pkg_name\n from os.path import join, dirname\n return join(dirname(pkg_name.__file__), 'lib')\n\nPlease, refer to\n`build\\_capi/example/prj\\_name `__ for a\nminimal example of project using ``build_capi``.\n\nInstall\n-------\n\nThe recommended way of installing it is via\n`conda `__\n\n.. code:: bash\n\n conda install -c conda-forge build-capi\n\nAn alternative way would be via pip\n\n.. code:: bash\n\n pip install build-capi\n\nAuthors\n-------\n\n- **Danilo Horta** - https://github.com/Horta\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the\n`LICENSE `__ file for details\n\n.. |PyPIl| image:: https://img.shields.io/pypi/l/build-capi.svg?style=flat-square\n :target: https://pypi.python.org/pypi/build-capi/\n.. |PyPIv| image:: https://img.shields.io/pypi/v/build-capi.svg?style=flat-square\n :target: https://pypi.python.org/pypi/build-capi/\n.. |Anaconda-Server Badge| image:: https://anaconda.org/conda-forge/build-capi/badges/version.svg\n :target: https://anaconda.org/conda-forge/build-capi", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/glimix/build-capi", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "build-capi", "package_url": "https://pypi.org/project/build-capi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/build-capi/", "project_urls": { "Homepage": "http://github.com/glimix/build-capi" }, "release_url": "https://pypi.org/project/build-capi/1.1.10/", "requires_dist": null, "requires_python": "", "summary": "Build and distribute C/C++ static libraries", "version": "1.1.10" }, "last_serial": 2847484, "releases": { "1.1.10": [ { "comment_text": "", "digests": { "md5": "7dcba1adbb927cdbaad80ee3997aa3ee", "sha256": "b4048fe3a1fa34e390eeae507c089499ab81cf9f34d8babfe229da20c0c2810a" }, "downloads": -1, "filename": "build-capi-1.1.10.tar.gz", "has_sig": false, "md5_digest": "7dcba1adbb927cdbaad80ee3997aa3ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6285, "upload_time": "2017-01-23T18:35:24", "url": "https://files.pythonhosted.org/packages/b5/16/8c3b75d481c98af68a4ad5b03f6d14ed3a7e03216950c084c28b3d3d8e2a/build-capi-1.1.10.tar.gz" } ], "1.1.9": [ { "comment_text": "", "digests": { "md5": "b2e4a9ae432f66ab66b8e2dcd7e08179", "sha256": "bd4f3be7847646fbc004ae93958f7d7820b304f276b28a126182e0ab3995f334" }, "downloads": -1, "filename": "build-capi-1.1.9.tar.gz", "has_sig": false, "md5_digest": "b2e4a9ae432f66ab66b8e2dcd7e08179", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6364, "upload_time": "2016-12-09T19:16:11", "url": "https://files.pythonhosted.org/packages/fa/c6/8f7b031c31ca89980f3f3e141039af2ca28fde0f264618ca2531eddad481/build-capi-1.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7dcba1adbb927cdbaad80ee3997aa3ee", "sha256": "b4048fe3a1fa34e390eeae507c089499ab81cf9f34d8babfe229da20c0c2810a" }, "downloads": -1, "filename": "build-capi-1.1.10.tar.gz", "has_sig": false, "md5_digest": "7dcba1adbb927cdbaad80ee3997aa3ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6285, "upload_time": "2017-01-23T18:35:24", "url": "https://files.pythonhosted.org/packages/b5/16/8c3b75d481c98af68a4ad5b03f6d14ed3a7e03216950c084c28b3d3d8e2a/build-capi-1.1.10.tar.gz" } ] }