{ "info": { "author": "Andre Caron", "author_email": "andre.l.caron@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Programming Language :: C++", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Testing" ], "description": "#################################################\n ``tox-cmake``: Build CMake projects using Tox\n#################################################\n\n\n:author: Andre Caron (andre.l.caron@gmail.com)\n\n\nIntroduction\n============\n\nI guess this projects needs a bit of explaning :-)\n\nI work on a product that uses Python on the back-end and C++ for the\nclient-side SDK. Testing that the C++ client SDK and the Python back-end\nquickly becomes painful. Since Python has IMHO much, much better testing\ntools, it's only natural to want to use them all the time.\n\nCalling ``cmake`` directly from Tox's ``commands`` setting works, but it has a\nfew quirks:\n* ``cmake`` has to be in ``PATH`` for thos to work, which makes requiring a\n specific CMake version kind of hard;\n* there can be only one ``cmake`` in ``PATH``, which makes it impossible to\n test against multiple CMake versions with the same ``tox.ini`` configuration;\n and\n* Tox warns when it invokes a command-line tool that isn't installed in the\n virtual environment (e.g. when it resorts to searching ``PATH`` to invoke a\n command).\n\nThis Python package is simply a stub for CMake that will accept a CMake version\nrequirement and find a compatible ``cmake`` program installed on your machine\n(or fail with a clear error).\n\nSince it uses a ``setuptools`` console entry-point, it also conveniently\nsilences Tox's warning about relying on ``PATH``.\n\n\nUsage\n=====\n\nThe process is quite simple:\n\n#. Add ``tox-cmake`` to Tox's ``deps`` setting.\n#. Use Tox's ``changedir`` setting (for out-of-source CMake builds).\n#. Invoke ``tox-cmake`` in Tox's ``commands`` setting.\n\nHere's a full example::\n\n [testenv]\n deps =\n tox-cmake\n changedir = {toxinidir}/build/{envname}\n commands =\n tox-cmake \">=2.8,<3\" ../..\n tox-cmake \">=2.8,<3\" --build --config Debug .\n\nCMake version requirements\n--------------------------\n\nThe CMake version requirement string should feel familiar:\n\n* similar to ``requirements.txt`` files, it accepts ``>=``, ``<`` and ``==``\n constraints;\n* for ``>=`` and ``<`` constraints, you can specify partial version numbers\n (e.g. only major and minor);\n* for ``==`` constraints, you need to have an exact match;\n* a small extension allows picking a taggerd build (e.g. ``\"-foo\"`` will pick a\n version like ``2.8.12.2-foo``)\n* commas allow to specify multiple constraints (e.g. \">=2.8,<3\" will search for\n the latest CMake 2.8 on your system).\n\n\nLicensing and redistribution\n============================\n\nThe project is released under the MIT license. See the ``LICENSE.txt`` file\nfor legal text.\n\n\nContributing\n============\n\nPull requests are welcome! Make sure to add your name to the ``AUTHORS.txt``\nfile on your pull request.\n\nOpening an issue to discuss your changes before implementing them is\nrecommended, but not required.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "tox cmake", "license": "http://opensource.org/licenses/MIT", "maintainer": null, "maintainer_email": null, "name": "tox-cmake", "package_url": "https://pypi.org/project/tox-cmake/", "platform": "win32", "project_url": "https://pypi.org/project/tox-cmake/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/tox-cmake/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Build CMake projects using Tox", "version": "0.1.1" }, "last_serial": 1522161, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "48f11fd2f84935a1e03185c1a4d3819f", "sha256": "1cddef17183fee7261bba37790ace33cca93a9277d64702e4ddf05381f8bda62" }, "downloads": -1, "filename": "tox-cmake-0.1.zip", "has_sig": false, "md5_digest": "48f11fd2f84935a1e03185c1a4d3819f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7800, "upload_time": "2015-04-27T00:18:43", "url": "https://files.pythonhosted.org/packages/9a/89/6b8b8c19d9419beaa553446d84016b2ca96da46bba7d8e365512c453d371/tox-cmake-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cd36bb07b2a195440125556f995e5dab", "sha256": "303ef0f4bb698d44b5087d59568193cb0523a8ec8a0cb2c5556dc3342b6cb118" }, "downloads": -1, "filename": "tox-cmake-0.1.1.zip", "has_sig": false, "md5_digest": "cd36bb07b2a195440125556f995e5dab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8248, "upload_time": "2015-04-27T00:47:09", "url": "https://files.pythonhosted.org/packages/8b/d8/e07c5f3f00d7322551b1e5c536b402c7f9d96ae7c63001c08004293aaf69/tox-cmake-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd36bb07b2a195440125556f995e5dab", "sha256": "303ef0f4bb698d44b5087d59568193cb0523a8ec8a0cb2c5556dc3342b6cb118" }, "downloads": -1, "filename": "tox-cmake-0.1.1.zip", "has_sig": false, "md5_digest": "cd36bb07b2a195440125556f995e5dab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8248, "upload_time": "2015-04-27T00:47:09", "url": "https://files.pythonhosted.org/packages/8b/d8/e07c5f3f00d7322551b1e5c536b402c7f9d96ae7c63001c08004293aaf69/tox-cmake-0.1.1.zip" } ] }