[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Python macros
From: |
Brandon Invergo |
Subject: |
Python macros |
Date: |
Sun, 23 Sep 2012 20:31:35 +0200 |
User-agent: |
Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu) |
Hi everyone,
Sorry for the cross-posting here but it touches both Autoconf and
Automake in some way...
I recently worked to implement a standard configure/Makefile.in file
pair for Python-based GNU projects. In the process, I implemented a
large number of Autoconf macros. Well, in fact, a lot were taken from
python.m4 that is included with Automake. However, in that file, many
tests are done in one macro, whereas I've broken them down into
individual macros, such that the user can decide what tests they
actually want. I furthermore implemented Python as a language in
Autoconf, so you can do things like AC_LANG_PROG to call arbitrary
Python code.
Since this task of implementing configure scripts for Python packages
was considered to be of rather high importance by rms et al., I'm
wondering how best to submit these macros. There are other Python macros
in the Autoconf Macro Archive, however they are limited and sadly
out-of-date (ie they only check for Python versions up to 2.6, when 2.7+
and 3.2+ are available).
python.m4 in Automake is much more complete, and these macros are the
direct decendents of that file, but to me at least, it's confusing that
these macros should be implemented in Automake and not in Autoconf (or
Autoconf Archive for that matter). So I'm not sure if they should be
submitted to that project.
So, please let me know how best to proceed with the macros. If any work
needs to be done to make them fit better, I'd be happy to help. For
example, the macros are all in the "PC_" namespace ("Python Configure")
since I didn't know where they'd end up....that would need to be
changed.
I've attached the macro file to this email, or you can find it here:
http://bzr.savannah.gnu.org/lh/gsrc/trunk/annotate/head:/util/python-configure/m4/python.m4
Regards,
Brandon Invergo
python.m4
Description: python ac macros
- Python macros,
Brandon Invergo <=