Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:55:48+00:00 2026-06-04T20:55:48+00:00

I have a project under python and have a setup.py script that build my

  • 0

I have a project under python and have a setup.py script that build my egg and .exe file for each realease.
I am used to use ant script, where I can define targets easily.

I may miss something, but I cannot find any documentation that explains how to create such commands with distutils.
(Well, I found this actually but this is quite short as a documentation :s)

Here are some examples of what I would like to automate:

  • create packages for various platforms (exe, pypi, linux, source)
  • build documentation (pdf, html, rst)
  • zip my samples, move them to a distant location
  • upload new package to pypi
  • run tests
  • . . .

But most of all, I would like to be able to do it in only one command, just like I would do it with a ant build.

So how do you usually do such tasks with your python projects?
Though I think it would not be relevant to add my setup.py here, I can do it if needed.

Thank you very much !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:55:48+00:00Added an answer on June 4, 2026 at 8:55 pm

    Have you looked at the Ant Python tasks?

    These Ant extensions add some tasks to support Python builds. In
    particular, Python compile, unit test execution, pydoc generation, and
    executing Python scripts is supported.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that used to be under SVN, but now I'm moving
In my project under Resource Files I have some properties files that I'd like
In my project, have setup an admin panel under a folder inside controllers folder
I have a python project under SVN, and I'm wanting to display the version
I have a project that runs perfectly well under windows 7, x86 installation. On
I have a custom python script that monitors the call logs from a Nortel
I have a small web.py Python application that I would like to serve under
I have a simple, pure python project that I want to make available with
I have a Symfony2 project under Debian. What are the steps to change my
Short version: I have a Django project under development & testing (not yet into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.