You are here: Home Blog fez.djangoskel: Django projects and apps as eggs

fez.djangoskel: Django projects and apps as eggs

by Dan Fairs last modified Dec 02, 2008 09:05 PM
I've made an initial release of fez.djangoskel, which provides simple paster templates for egg-based Django projects and applications.

This is just a brief note to say that I've release fez.djangoskel, a package which provides paster templates for creating egg-based Django projects and reusable applications. This is all part of my crusade to get the Django community to package software as eggs. As well as source and binary egg releases on PyPI, the code is available on GitHub (representing my first foray into git).

The easiest way to get this is, as usual, with easy_install. (See my previous posts on how to set this up):

easy_install fez.djangoskel

Once that and its dependencies have installed, you should fine that paster can now create Django projects and apps:

$ paster create --list-templates
Available templates:
  basic_package:   A basic setuptools-enabled package
  django_app:      Template for a basic Django reusable application
  django_project:  Template for a Django project
  paste_deploy:    A web application deployed through paste.deploy

It's standard paste from here on in: to create a project, use:

paster create -t django_project

To create an app, use:

paster create -t django_app

Paster will then ask you a bunch of questions (the most crucial one being the name of your app/project!) and generate the file layout for you.

I plan to do another release later this week which includes additional templates for creating Django eggs using namespace packages, as well as improved documentation.

Filed under:
Leonardo Rochael Almeida
Leonardo Rochael Almeida says:
Sep 30, 2010 04:15 PM
Hi Dan,

This is very nice.

It would be extra nice if the project eggs so created contained entry points for serving the Django project as a WSGI paster app as in: http://pythonpaste.org/deploy/#paste-app-factory
Add comment

You can add a comment by filling out the form below. Plain text formatting.