{ "info": { "author": "Tom A. Thorogood", "author_email": "tom@tomthorogood.com", "bugtrack_url": null, "classifiers": [], "description": "# AC.py - Python Autoconf #\n\n## Introduction #\n\nAC.py is a Python implementation of the popular autoconf tool used in \nascertaining a sane, stable environment before attempting to build large\nprojects. The purpose of AC.py is to provide a simpler way of performing\nthese tests, along with added functionality to resolve environmental issues\nat the same time. \n\n### License #\n\nAC.py is licensed with [GPLv3](http://www.gnu.org). This is free software that\nmay be used by anyone for any purposes and distributed freely, and comes with\nno warranty. \n\n### Author Info. #\nOriginally authored by \n[Tom A. Thorogood](mailto:tom@tomthorogood.com). \n\nAC.py's central repository is located at\n[github.com/tomthorogood/ac.py](http://www.github.com/tomthorogood/ac.py).\n\n## Installation #\n\nAC.py can be installed using\n\n pip install ac\n\nor\n\n easy_install ac\n\nAdditionally, you can clone and install yourself using:\n\n git clone git://github.com/tomthorogood/AC.py\n cd AC.py\n python setup.py install\n\nYou do not need to install ac.py in order to use it. It can be cloned and used\nas any standard Python module.\n\n## Usage #\n\nAC.py aims to be simpler than than traditional autoconf, and is highly \ncustomizable. The following tutorial will allow you to:\n\n+ Test for libraries and executables\n+ Set up distribution-specific alternatives for failed tests\n+ Use test results to populate fields in a manifest Makefile.\n\n## The Shell Environment#\n\nAC.py will always attempt to test the shell environment first. The default\nshell can be changed using the `--shell` flag. When running any shell scripts\ngenerated by AC.py or written by you, the hashbang interpreter directive will\nalways be at the head of each script (#!/bin/sh), using the results from the\nshell environment test.\n\nIf you do not want your users to have to use the shell flag, but do want to\nrequire a specific shell environment, you can set the default using\n\n # ac.set_shell\n ac.set_shell(\"sh\")\n ac.set_shell(\"bash\")\n ac.set_shell(\"tcsh\")\n\nHowever, it is highgly recommended that you use bash commands and scripts that\nwill work across all platforms and shells. \n\n## Required Successes #\n\nTests marked as required (or called with a 'require' function) will halt\nthe configuration script if the test is not a success and there is no \nfail alternative provided.\n\n## A Generic Test #\n\nYou can use any Python scripting to come up with a true/false result and\npass the result into the test framework using\n\n # ac.test(\"test_name\", result, [required=True|False])", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.github.com/tomthorogood/AC.py", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "ac", "package_url": "https://pypi.org/project/ac/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ac/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.github.com/tomthorogood/AC.py" }, "release_url": "https://pypi.org/project/ac/0.3-alpha/", "requires_dist": null, "requires_python": null, "summary": "A python library for writing C/C++ configure files.", "version": "0.3-alpha" }, "last_serial": 832756, "releases": { "0.1-alpha": [], "0.2-alpha": [ { "comment_text": "", "digests": { "md5": "e21fc13f02585d8294d9da4766c2334e", "sha256": "550ff28f28f60bbc9ef69f32744866a1de11751c9029a87262b3d647091dba48" }, "downloads": -1, "filename": "ac-0.2_alpha-py2.7.egg", "has_sig": false, "md5_digest": "e21fc13f02585d8294d9da4766c2334e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11663, "upload_time": "2013-05-10T16:27:11", "url": "https://files.pythonhosted.org/packages/24/da/de717c66c6ebd55eb485fa18a8ef66d45bd6629a4e42e7989859b0413dd3/ac-0.2_alpha-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "259ff2862b7aaee35dd385c306922e74", "sha256": "b4dcfefaa5f9f8eec10491a465cdcd5f8ba7f9adc2eeaf29a7f02503aca9145e" }, "downloads": -1, "filename": "ac-0.2-alpha.tar.gz", "has_sig": false, "md5_digest": "259ff2862b7aaee35dd385c306922e74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5842, "upload_time": "2013-05-10T16:27:08", "url": "https://files.pythonhosted.org/packages/62/69/1554f20baea8b000b20081f815841c3f7a1a80892523df63269163be0755/ac-0.2-alpha.tar.gz" } ], "0.3-alpha": [ { "comment_text": "", "digests": { "md5": "992dad7056bbff12418488d5783b7241", "sha256": "bf78cca9b3ad6f3a72791fd78e0e04eabd920ef0efaf669fb39cf313250bef10" }, "downloads": -1, "filename": "ac-0.3_alpha-py2.7.egg", "has_sig": false, "md5_digest": "992dad7056bbff12418488d5783b7241", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 26720, "upload_time": "2013-08-05T16:46:13", "url": "https://files.pythonhosted.org/packages/1b/40/75ece545407ddd3a38a81ad65d12de6a7707a2f53441d1e414fcd7920f96/ac-0.3_alpha-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "995a58d4fb932e61249228ef9235a36f", "sha256": "f5fa14b9679ff94898a8ed727f63451b827063a605e5e5cee00103fbe2846f62" }, "downloads": -1, "filename": "ac-0.3-alpha.tar.gz", "has_sig": false, "md5_digest": "995a58d4fb932e61249228ef9235a36f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9265, "upload_time": "2013-08-05T16:46:09", "url": "https://files.pythonhosted.org/packages/98/68/017efc9313ce68a7d2f5116f1921374f982000e8eb645691859b26c0bd10/ac-0.3-alpha.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "992dad7056bbff12418488d5783b7241", "sha256": "bf78cca9b3ad6f3a72791fd78e0e04eabd920ef0efaf669fb39cf313250bef10" }, "downloads": -1, "filename": "ac-0.3_alpha-py2.7.egg", "has_sig": false, "md5_digest": "992dad7056bbff12418488d5783b7241", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 26720, "upload_time": "2013-08-05T16:46:13", "url": "https://files.pythonhosted.org/packages/1b/40/75ece545407ddd3a38a81ad65d12de6a7707a2f53441d1e414fcd7920f96/ac-0.3_alpha-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "995a58d4fb932e61249228ef9235a36f", "sha256": "f5fa14b9679ff94898a8ed727f63451b827063a605e5e5cee00103fbe2846f62" }, "downloads": -1, "filename": "ac-0.3-alpha.tar.gz", "has_sig": false, "md5_digest": "995a58d4fb932e61249228ef9235a36f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9265, "upload_time": "2013-08-05T16:46:09", "url": "https://files.pythonhosted.org/packages/98/68/017efc9313ce68a7d2f5116f1921374f982000e8eb645691859b26c0bd10/ac-0.3-alpha.tar.gz" } ] }