Skip to main content

Overview

This is a buildout recipe for setting up a base project and wsgi file. It started as a fork of djangorecipe, mainly because I wanted to learn how it worked, which installs Django from SVN and does a lot of other things. This is stripped down now just to set up scripts in the Buildout environment and to generate the wsgi file. It doesn’t install the Django package because I believe there are better recipes to do that. I also edited the project template that djangorecipe used as a base.

Example Recipe

[buildout]
parts = python django django-project
eggs =
extra-paths =
    ${buildout:directory}
    ${buildout:directory}/parts/django/

[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}
extra-paths = ${buildout:extra-paths}

[django]
recipe = zerokspot.recipe.git
repository = git://github.com/django/django.git

[django-project]
recipe = thechristmaspig
project = example
script-name = django
eggs = ${buildout:eggs}

Supported options

The recipe supports the following options.

project

The name of the project directory to use or create.

settings

The name of the settings file for the project. Defaults to settings.

extra-paths

Paths to extend the default Python path for the generated scripts. Defaults to the extra-paths parameter of the [buildout] configuration.

script-name

The name of the scripts created in the bin folder. This script is the equivalent of the manage.py Django normally creates. By default it uses the name of the section (the part between the [ ]).

urlconf

You can set this to a specific url conf. It will use the project.urls where project is set by the project option.

Sandbox Installation

Use the following commands to run a demo of this package.

$ git clone git://github.com/prestontimmons/thechristmaspig.git
$ cd thechristmaspig
$ python bootstrap.py
$ bin/buildout -v
$ bin/django test

Why the Name?

Because all the good names for Django Buildout recipes were already taken.

Metadata

Release files for thechristmaspig 0.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thechristmaspig 0.9.6
File Size Uploaded Provenance
thechristmaspig-0.9.6.tar.gz 5.2 kB Without provenance Details

Release files / thechristmaspig-0.9.6.tar.gz

Download URL thechristmaspig-0.9.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bf9c491712d802e526be6f949ba2b2dfe202cb035b3102137eb93d60c3abefe4
BLAKE2b-256 checksum
How to use checksums
f2c14ad4a234c757029983a53649181b05b50d57f5293f4e9342402a00017a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for thechristmaspig 0.9.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page