Personal tools
Document Actions

fez.djangoskel: Django projects and apps as eggs

by Dan Fairs posted on 2008-12-02 22:05 last modified 2008-12-02 22:09 —
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.

 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: