This release is a pre-release and may not be stable for production use.
# AC.py - Python Autoconf #
## Introduction #
AC.py is a Python implementation of the popular autoconf tool used in ascertaining a sane, stable environment before attempting to build large projects. The purpose of AC.py is to provide a simpler way of performing these tests, along with added functionality to resolve environmental issues at the same time.
### License #
AC.py is licensed with [GPLv3](http://www.gnu.org). This is free software that may be used by anyone for any purposes and distributed freely, and comes with no warranty.
### Author Info. # Originally authored by [Tom A. Thorogood](mailto:tom@tomthorogood.com).
AC.py’s central repository is located at [github.com/tomthorogood/ac.py](http://www.github.com/tomthorogood/ac.py).
## Installation #
AC.py can be installed using
pip install ac
or
easy_install ac
Additionally, you can clone and install yourself using:
git clone git://github.com/tomthorogood/AC.py cd AC.py python setup.py install
You do not need to install ac.py in order to use it. It can be cloned and used as any standard Python module.
## Usage #
AC.py aims to be simpler than than traditional autoconf, and is highly customizable. The following tutorial will allow you to:
Test for libraries and executables
Set up distribution-specific alternatives for failed tests
Use test results to populate fields in a manifest Makefile.
## The Shell Environment#
AC.py will always attempt to test the shell environment first. The default shell can be changed using the –shell flag. When running any shell scripts generated by AC.py or written by you, the hashbang interpreter directive will always be at the head of each script (#!/bin/sh), using the results from the shell environment test.
If you do not want your users to have to use the shell flag, but do want to require a specific shell environment, you can set the default using
# ac.set_shell ac.set_shell(“sh”) ac.set_shell(“bash”) ac.set_shell(“tcsh”)
However, it is highgly recommended that you use bash commands and scripts that will work across all platforms and shells.
## Required Successes #
Tests marked as required (or called with a ‘require’ function) will halt the configuration script if the test is not a success and there is no fail alternative provided.
## A Generic Test #
You can use any Python scripting to come up with a true/false result and pass the result into the test framework using
# ac.test(“test_name”, result, [required=True|False])
Metadata
Release files for ac 0.3-alpha
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ac-0.3-alpha.tar.gz | 9.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ac-0.3_alpha-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 36.0 kB
Release files / ac-0.3-alpha.tar.gz
| Download URL | ac-0.3-alpha.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5fa14b9679ff94898a8ed727f63451b827063a605e5e5cee00103fbe2846f62
|
|
BLAKE2b-256 checksum How to use checksums |
9868017efc9313ce68a7d2f5116f1921374f982000e8eb645691859b26c0bd10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ac-0.3_alpha-py2.7.egg
| Download URL | ac-0.3_alpha-py2.7.egg |
|---|---|
| Size | 26.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
bf78cca9b3ad6f3a72791fd78e0e04eabd920ef0efaf669fb39cf313250bef10
|
|
BLAKE2b-256 checksum How to use checksums |
1b4075ece545407ddd3a38a81ad65d12de6a7707a2f53441d1e414fcd7920f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ac 0.3-alpha
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.