ant-python

Welcome

Ant-python is a set of tasks to create Python distributions, run unit tests, run coverage, build Sphinx documentation, etc.

For more information, please refer to the javadoc.

Tasks

Available tasks:

Download

The current version is 0.1.6. The library is licensed under the Apache License 2.0.

Binary

Binary package to be placed in the Ant library.

Ivy repository

The following resolver should be added to ivy settings to retrieve the library:

<url name="ant-python">
    <ivy pattern="http://ant-python.sf.net/ivy/[revision]/ivy.xml" />
    <artifact pattern="http://ant-python.sf.net/ivy/[revision]/[artifact](-[type]).[ext]" />
</url>

To combine this resolver with the default maven repository, use a chain resolver in your ivysettings.xml:

<ivysettings>
    <settings defaultResolver="default" />
    <include url="${ivy.default.settings.dir}/ivysettings-public.xml" />
    <include url="${ivy.default.settings.dir}/ivysettings-shared.xml" />
    <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />

    <resolvers>
        <chain name="default" returnFirst="true">
            <resolver ref="local" />
            <resolver ref="shared" />
            <resolver ref="public" />

            <!-- Resolver for ant-python -->
            <url name="ant-python">
                <ivy pattern="http://ant-python.sf.net/ivy/[revision]/ivy.xml" />
                <artifact pattern="http://ant-python.sf.net/ivy/[revision]/[artifact](-[type]).[ext]" />
            </url>

            <!-- Any other resolvers -->
        </chain>
    </resolvers>
</ivysettings>

Then add the following dependency to your ivy.xml file:

<dependency org="net.sf.ant-python"
            name="ant-python"
            rev="|version|"
            conf="*->runtime" />

Source

The source is available in a zip file or via the Bazaar repository on SourceForge:

bzr://ant-python.bzr.sourceforge.net/bzrroot/ant-python

Bugs

For any bugs or new features, please refer to the support page on SourceForge.