nensskel provides so-called "paster templates" so you can easily create new Django applications, websites and python libraries. They're not fully generic, as they originated within one company (see below).
The nensskel script creates a directory structure for you with (some partially filled) basic files (like a README.rst and a setup.py). Optionally you can use it to automatically create a trunk/tags/branches structure in svn.
Call the nensskel script to get usage information.
Installation is straightforward with easy_install:
$ easy_install nensskel
or with pip:
$ pip install nensskel
(Probably you need to run it with sudo on osx/linux).
Don't forget to update from time to time:
$ easy_install --upgrade nensskel
- basic_package: A basic setuptools-enabled package
- nens_djangoapp: A buildout for nens Django applications
- nens_library: A buildout for nens libraries
- nens_lizardsite: A buildout for nens lizard Django sites
- nens_leansite: A buildout for nens Django sites (doesn't inherit from other templates)
- paste_deploy: A web application deployed through paste.deploy
Nensskel originates at Nelen & Schuurmans. We set it up the way we like it and we change it the way we like it so it might not fit your case 100%.
But it does provide a good example to give you a head start with a completely setup Django application/site. For example, the Django sites come with a full-blown nginx config and Django-staticfiles is included for easy css/js setup.
If the available templates don't serve your need, you can do two things: 1. Clone the repository and edit the template as you like; possibly submit a pull request 2. Make your own template
Drop us a line if you need help.
When you want to create your own skeleton, nensskel can be a nice, small example. Just download the .tar.gz and unpack it.
Do the regular python bootstrap.py && bin/buildout and you're good to go. The nensskel and paster scripts are created in the bin/ directory.
There is one python script in nensskel/*.py per template. The actual templates are in nensskel/templates/*. See http://pythonpaste.org/script/developer.html for some documentation on what paster can do. If you want elaborate examples: http://svn.plone.org/svn/collective/ZopeSkel/trunk/ is the most elaborate set of templates available.
Nensskel is developed on github: https://github.com/lizardsystem/nensskel .
Issues are also tracked there: https://github.com/lizardsystem/nensskel/issues .