2010/11/13 Sebastian Pipping > On 11/13/10 00:40, Arnaud Quette wrote: > > > > 2010/11/12 Stuart Rackham wrote: > > > > > > On 12/11/10 10:45, Arnaud Quette wrote: > > > > (...) > > just a question, because NUT' configure script is checking this: > > a2x version is still 8.6.1 while asciidoc is already 8.6.3. > > do you plan to also bump a2x version? > > > > > > Thanks for spotting that Arnaud, I've updated it in the trunk. > > > > > > welcome ;-) > > > > you may want to automate this and manage it at a central location, to > > avoid missing it during release. > > you already have it btw in your configure.ac <http://configure.ac> (even > > more outdated), you just need to: > > - create {asciidoc,a2x}.py.in <http://py.in> > > - reference these in configure.ac->AC_OUTPUT > > - patch these file with > > VERSION = @PACKAGE_VERSION@ > > > > I can provide a patch if needed. > > That would make develeopment of the Python code rather difficult. >
not sure what you mean here. if you think about syntax highlighting, then most (if not all) modern editors handle this. > An alternative could be creating a file "version.py" and import that > from the main code. > well, it simplifies the code somehow, but not the distribution, since you have to ship, and be able to find your version.py to answer to Stuart, the .in files are simply the .py counter part, renamed and replacing the version data. ie, a2x.py.in is simply a copy of a2x.py with VERSION = @PACKAGE_VERSION@ that being said, creating an asciidoc-version.py, then distributed in the sysconfig directory might best apply here. @Stuart: up to you... cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
