{ "info": { "author": "John Freeman", "author_email": "jfreeman08@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. start-include\n\n===========\nautorecipes\n===========\n\nGeneric Conan_ recipes for C/C++ and Python projects.\n\n.. _Conan: https://docs.conan.io/\n\n.. image:: https://api.bintray.com/packages/jfreeman/jfreeman/autorecipes%3Ajfreeman/images/download.svg\n :target: https://bintray.com/jfreeman/jfreeman/autorecipes%3Ajfreeman/_latestVersion\n :alt: Latest Bintray version\n\n.. .. image:: https://readthedocs.org/projects/autorecipes/badge/?version=latest\n :target: https://autorecipes.readthedocs.io/\n :alt: Documentation status\n\n.. image:: https://travis-ci.org/thejohnfreeman/autorecipes.svg?branch=master\n :target: https://travis-ci.org/thejohnfreeman/autorecipes\n :alt: Build status: Linux and OSX\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/thejohnfreeman/autorecipes?branch=master&svg=true\n :target: https://ci.appveyor.com/project/thejohnfreeman/autorecipes\n :alt: Build status: Windows\n\n\nC/C++\n=====\n\nIf your project\n\n- uses CMake_,\n- and installs a `package configuration file`__\n- that defines the variable ``_COMPONENTS``\n- with a list of components,\n- and for each of them defines a target ``::``,\n\nthen you should be able to copy this recipe to package it for Conan:\n\n.. _CMake: https://cmake.org/cmake/help/latest/\n.. __: https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#package-configuration-file\n\n.. code-block:: python\n\n from conans import python_requires\n\n CMakeConanFile = python_requires('autorecipes/[*]@jfreeman/testing').cmake()\n\n class Recipe(CMakeConanFile):\n name = CMakeConanFile.__dict__['name']\n version = CMakeConanFile.__dict__['version']\n\n\nPython\n======\n\nIf your project\n\n- uses Poetry_,\n- with a ``pyproject.toml`` package metadata file as defined in `PEP 518`_,\n\n.. _Poetry: https://poetry.eustace.io/docs/\n.. _PEP 518: https://www.python.org/dev/peps/pep-0518/\n\nthen you should be able to copy this recipe to package it for Conan:\n\n.. code-block:: python\n\n from conans import python_requires\n\n PythonConanFile = python_requires('autorecipes/[*]@jfreeman/testing').python()\n\n class Recipe(PythonConanFile):\n name = PythonConanFile.__dict__['name']\n version = PythonConanFile.__dict__['version']\n\n\nFAQ\n===\n\n.. Look at this fucking joke of a syntax. Just let me nest!\n\n- **Why do I need to copy the** ``name`` **and** ``version`` **attributes from\n the base class?**\n\n Conan parses the recipe looking for the ``name`` and ``version`` attributes,\n instead of just executing it. Thus, we must copy the attributes to move past\n that check.\n\n Further, these attributes are descriptors_. Accessing them with dot\n notation, like ``CMakeConanFile.name``, evaluates them against the class\n ``CMakeConanFile`` instead of your recipe, but they need the most derived\n type to work correctly.\n\n .. _descriptors: https://docs.python.org/3/howto/descriptor.html\n\n- **Can I override some attributes?**\n\n Yes. These base classes just provide default values.\n\n.. end-include\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thejohnfreeman/autorecipes/", "keywords": "", "license": "ISC", "maintainer": "John Freeman", "maintainer_email": "jfreeman08@gmail.com", "name": "autorecipes", "package_url": "https://pypi.org/project/autorecipes/", "platform": "", "project_url": "https://pypi.org/project/autorecipes/", "project_urls": { "Documentation": "https://autorecipes.readthedocs.io/", "Homepage": "https://github.com/thejohnfreeman/autorecipes/", "Repository": "https://github.com/thejohnfreeman/autorecipes/" }, "release_url": "https://pypi.org/project/autorecipes/0.2.0/", "requires_dist": [ "sphinx (>=1.8,<2.0); extra == \"docs\"", "sphinx_rtd_theme (>=0.4.3,<0.5.0); extra == \"docs\"", "toml (>=0.10.0,<0.11.0)", "conan (>=1.14,<2.0)", "typing_extensions (>=3.7,<4.0)" ], "requires_python": ">=3.6-dev,<4.0", "summary": "Generic Conan recipes for CMake and Python projects.", "version": "0.2.0" }, "last_serial": 5478467, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "4e174f3be83bacd05e9e3c22e8fa37c0", "sha256": "555a0731f8818ad83582f978d24ae64751d7ed47aabf57fd75d48fc608d74821" }, "downloads": -1, "filename": "autorecipes-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4e174f3be83bacd05e9e3c22e8fa37c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6-dev,<4.0", "size": 13160, "upload_time": "2019-07-02T21:22:23", "url": "https://files.pythonhosted.org/packages/24/11/e7556f9dfe69e128036e3aa4c67be77b9b4375905ee495f1c18fa4f406f4/autorecipes-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8f8a921e26aa0b1be09e635fbb4be04", "sha256": "cd57e472b30a366e612ef52bc954e7c69b3e7a25150941aa30a3a95cf4337a92" }, "downloads": -1, "filename": "autorecipes-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b8f8a921e26aa0b1be09e635fbb4be04", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6-dev,<4.0", "size": 11536, "upload_time": "2019-07-02T21:22:26", "url": "https://files.pythonhosted.org/packages/24/8c/db4680f4266f6bc4a31fe2d07fd8180394bd78fc0cdb51e52c932abf80a2/autorecipes-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e174f3be83bacd05e9e3c22e8fa37c0", "sha256": "555a0731f8818ad83582f978d24ae64751d7ed47aabf57fd75d48fc608d74821" }, "downloads": -1, "filename": "autorecipes-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4e174f3be83bacd05e9e3c22e8fa37c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6-dev,<4.0", "size": 13160, "upload_time": "2019-07-02T21:22:23", "url": "https://files.pythonhosted.org/packages/24/11/e7556f9dfe69e128036e3aa4c67be77b9b4375905ee495f1c18fa4f406f4/autorecipes-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8f8a921e26aa0b1be09e635fbb4be04", "sha256": "cd57e472b30a366e612ef52bc954e7c69b3e7a25150941aa30a3a95cf4337a92" }, "downloads": -1, "filename": "autorecipes-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b8f8a921e26aa0b1be09e635fbb4be04", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6-dev,<4.0", "size": 11536, "upload_time": "2019-07-02T21:22:26", "url": "https://files.pythonhosted.org/packages/24/8c/db4680f4266f6bc4a31fe2d07fd8180394bd78fc0cdb51e52c932abf80a2/autorecipes-0.2.0.tar.gz" } ] }