473,326 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Ant (with Python extensions) good replacement for distutils?

I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)

Chris

Dec 5 '05 #1
6 1598
se******@spawar.navy.mil wrote:
I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)


No way. Ant sucks. Big-time. I actually enhance it with embedded jython
to get at least _some_ flexibility.

Diez
Dec 5 '05 #2
On 2005-12-05, se******@spawar.navy.mil <se******@spawar.navy.mil> wrote:
I know distutils well but don't know anything about Ant except that it
is a build tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)

Ant is... ugh. If you're doing Java, it's definitely the choice since
it's got so much infrastructure built around it.

But, if you are investigating software builds, look at (one or all) of
the following:

SCons <http://www.scons.org>

Boost Build <http://www.boost.org/tools/build/v1/>
and
<http://www.boost.org/tools/build/v2/>

A-A-P <http://www.a-a-p.org>
-Steve
--
The day he found out I could turn bacon into candy, he was mine forever.
-- Awillis, a.r.k.
Dec 6 '05 #3
In article <3v*************@uni-berlin.de>,
Diez B. Roggisch <de***@nospam.web.de> wrote:
se******@spawar.navy.mil wrote:
I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)


No way. Ant sucks. Big-time. I actually enhance it with embedded jython
to get at least _some_ flexibility.

Diez


<URL: http://www.testing.com/blog/misc/ant.txt >
Dec 6 '05 #4
I would vote against ant because java must be installed to run it.
The bootstrap install should be very simple. If you make python usage
dependent on:

1) download java
2) install java
3) add java to path
4) download ant
5) install ant
6) add ant to path
7) download ptyhon
8) install python
9) add python to path
10) download package
11) run ant to install package

just food for thought,
Mike

se******@spawar.navy.mil wrote:
I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)

Chris

--
The greatest performance improvement occurs on the transition of from
the non-working state to the working state.
Dec 7 '05 #5
se******@spawar.navy.mil wrote:
I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.

Could it possible be better or as good as distutils?
(There are extensions for Python.)

Chris

Hello,

In my Java code I use ant extensively to organise files, run
code, unit testing, upload war files, make my setup executables
(commercial app with a single click install kinda thing), tag in my
source repos, etc. For this it is excellent, using it for Python; I
don't think it will fly. There is a lot of handy stuff that is there in
ant for Java and Java programmers can easily add in extra ant tasks if
they have something custom they wish to. In addition getting an
open-source community to accept anything written in Python is an uphill
battle - not worth the grief <make way for Captain Toungue-In-Cheek>!!

Anyways, I see a lot of requests on the ant mailing where people try
to extend ant fast what it was designed for - this is the source of the
majority of the complaints about ant. Here's a good link that I refer
to when I find myself swearing about ant being inflexible or clunky:

http://ant.apache.org/ant_in_anger.html

However anyone up for Maven?? This is a build tool with a different
philosophy than most others.

Cheers,

Neil

--

Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany

Tel : +49 (0)351 4173 154
e-mail : be**@cenix-bioscience.com
Cenix Website : http://www.cenix-bioscience.com

Dec 7 '05 #6
>>No way. Ant sucks. Big-time. I actually enhance it with embedded jython
to get at least _some_ flexibility. Diez


Any pointers to this enhancement?

Dec 7 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Robert Ferrell | last post by:
I'm trying to do some debugging of python extensions on Windows2K. MS Visual Studio (.NET) says it can't find the debug version of the python libraries. (The message is "python.exe does not...
11
by: Matt Gerrans | last post by:
Looks like the installer for the Win32 extensions has changed from Wise to distutils, so now my automated silent installations don't work anymore. Anyone know if the distutils binary installer can...
6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
7
by: Scott | last post by:
I've installed Python 2.4 under WinXP and am attempting to create an extension module using the steps outlined here: http://python.org/doc/2.4/ext/win-cookbook.html I'm specifically trying to...
6
by: ajikoe | last post by:
Hello I tried to combine c++ and python together. So I follow from this website: http://kortis.to/radix/python_ext/ I have this code: # prmodule.c static PyObject *pr_isprime(PyObject *self,...
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
22
by: James Stroud | last post by:
Hello All, This is annoying. I am trying to build scipy right now but every .so file requires my adding "-lpython2.5 -lpthread -lm -lutil -ldl -shared" to the ld flags. Main Question: When...
1
by: Howard Lightstone | last post by:
Has there been any progress on being able to build extensions with MSVC8 (aka Visual Studio 2005)? Since the "free" compiler from Microsoft is now VC8, I *assume* this will be the new...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.