Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AC.py - Python Autoconf

While trying to grasp autoconf for the first time, I realized that I could do everything I wanted in Python, and so I started doing that instead.

This is the earliest of the earliest of early stages, but for absolute basic system testing functionality, it does work.

#!/usr/bin/env python
# Filename: configure
import ac

ac.test("testname, testfunc())
ac.testlib("somelib")
ac.testheader("someheader.h")

$ ./configure --shell=bash --compiler=g++ --yes

AC.py also offers (well, plans to offer, but the syntax is supported now), ‘alternatives’, which allows you to define how to handle failed tests depending on your user’s platform:

ac.if_fail("testname", ("debian","ubuntu"), "sudo apt-get install somepkg")
ac.if_fail("testname", ("rehat","centos","fedora"), "sudo yum install somepkg")

Future plans include variable substitution like autoconf has with .in files.

It’s nowhere near ready at this time, but I wanted to make sure that ‘ac’ could be the actual package name, because it’s easy to remember and looks familiar to anyone who is used to autoconf files.

For now, refer to ac.py docstrings for documentation. More will come later!

Metadata

Release files for ac 0.2-alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ac 0.2-alpha
File Size Uploaded Provenance
ac-0.2-alpha.tar.gz 5.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ac 0.2-alpha
File Interpreter ABI Platform
ac-0.2_alpha-py2.7.egg Legacy Egg format - - Details

Total release size: 17.5 kB

Release files / ac-0.2-alpha.tar.gz

Download URL ac-0.2-alpha.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b4dcfefaa5f9f8eec10491a465cdcd5f8ba7f9adc2eeaf29a7f02503aca9145e
BLAKE2b-256 checksum
How to use checksums
62691554f20baea8b000b20081f815841c3f7a1a80892523df63269163be0755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ac-0.2_alpha-py2.7.egg

Download URL ac-0.2_alpha-py2.7.egg
Size 11.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
550ff28f28f60bbc9ef69f32744866a1de11751c9029a87262b3d647091dba48
BLAKE2b-256 checksum
How to use checksums
24dade717c66c6ebd55eb485fa18a8ef66d45bd6629a4e42e7989859b0413dd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ac 0.2-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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page