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 6180955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:56:09+00:00 2026-05-24T00:56:09+00:00

Coming from Java development where build and project management tools abound, I’d like to

  • 0

Coming from Java development where build and project management tools abound, I’d like to know what’s available for Django. I’d really like to use something like Maven for building things, but is there another preferred way of doing it?

I’m really looking for the following:

  • Command-line building: mvn install is just so easy and cool.
  • Command-line test-runs. I’d like to integrate this app into something like Hudson for continuous integration, since I’m hardcore like that.
  • Deployment of media to local test server (JS, CSS, images, etc.)

Is this currently possible with Maven or another tool? I’m embarking on a pretty big project here and I’d like to have a kicking-rad build/project management system like Maven to help the project be able to grow over time.

  • 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-05-24T00:56:10+00:00Added an answer on May 24, 2026 at 12:56 am

    Two tools come to mind which are both generic python tools – they need not work with Django specifically:

    • Fabric. We use this; it allows us to write remote commands as if we were SSH’d in, upload code etc. These isn’t much you can’t do and because it is essentially a bash script written in python, it is very easy to get going. But it is also a bash script written in python, which means you can import parts of your django app, run your tests or do anything python can do in the process of running your deployment.
    • Buildout. I’ve not used this, but our django frontent developer tells me this is absolutely the tool to use. At a guess, it is either the same idea or a slightly more abstract, more python-orientated equivalent.

    I am sure there are other packages available. The best advice I can give you is to evaluate them all briefly and pick the one that best fits your scenario/team working style. Note that these are mostly deployment tools – builds in python don’t really make sense, since you don’t compile python code.

    In terms of CI related stuff, there are three commands from django you need to know about:

    • ./manage.py test runs your tests from all tests.py files. These are basically django-specific enhancements to unittest, a python package.
    • ./manage.py collectstatic collects static files to a directory of your choosing; highly useful for pulling all the bits together to exist on a static media server. Have a look at the static files howto for how this works.
    • You need South for this one, ./manage.py schemamigration app --auto && ./manage.py migrate app – this applies model changes to the underlying sql schema. Basically, if you just change a model and don’t use south, Django will get very upset because the new field won’t map to the old sql schema and it won’t be able to persist your model. Schema migrations, which south supports, enable you to upgrade an existing, populated database. Worth doing by hand before automating.
    • I should also point out you can write custom management commands to execute ./manage.py whatever you like. This has a fair amount of potential – I’ve used management commands as the command to execute in a cron job, for example. You could also build interactive commands for admins of your application and, of course, deployment and testing.

    How these are handled really depends on what setup you have available and what tools you choose.

    On compilation: The closest you get to building with python is freeze, a.k.a. py2exe or cxfreeze which produce binaries. Be aware though that all these do is store python bytecode in an exe and pass it through the interpreter, which is a shared object anyway. Also, you can’t cxfreeze a django app, since django itself uses dynamic imports which occur at run time and so cannot be evaluated by cxfreeze, which is essentially a compile time tool. So discount building as a task that needs doing. You might see .pyc files appearing in your directory – python converts your python script to python bytecode if changes have been made to it since the last pyc. If no changes have been made, it loads the pyc file from last time. Python bytecode is what gets executed, so this isn’t really a speedup in terms of performance, just load time.

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

Sidebar

Related Questions

Coming from a different development environment (Java, mostly) I'm trying to make analogies to
Coming from Java programming, I'm used to the general Main<->Test Maven-setup for a project.
I am coming from Java, and want to know if I can 'set' an
Coming from the Java world to the iPhone, I would like to see the
I am new to web programming, coming from a video game development background (c++),
Coming from Java environment, I feel I got spoiled a lot when it comes
Coming from java/groovy/grails we are currently moving to rails. We have been having an
I'm learning C++ (coming from java) and recently discovered that you can pass functions
I'm new to C++ and Visual Studio, coming from Java and Eclipse; Say I
I want to build a lightweight linux configuration to use for development. The first

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.