From c1bc021263d4ae2299851b809d5c4d0e48399f61 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 10 Nov 2009 05:03:02 +0000 Subject: Templates --------- - Remove ``ez_setup.py`` and its import from all paster templates, samples, and tutorials for ``distribute`` compatibility. The documentation already explains how to install virtualenv (which will include some ``setuptools`` package), so these files, imports and usages were superfluous. Deprecations ------------ - The ``options`` kw arg to the ``repoze.bfg.router.make_app`` function is deprecated. In its place is the keyword argument ``settings``. The ``options`` keyword continues to work, and a deprecation warning is not emitted when it is detected. However, the paster templates, code samples, and documentation now make reference to ``settings`` rather than ``options``. This change/deprecation was mainly made for purposes of clarity and symmetry with the ``get_settings()`` API and dicussions of "settings" in various places in the docs: we want to use the same name to refer to the same thing everywhere. --- docs/tutorials/bfgwiki2/src/models/setup.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs/tutorials/bfgwiki2/src/models/setup.py') diff --git a/docs/tutorials/bfgwiki2/src/models/setup.py b/docs/tutorials/bfgwiki2/src/models/setup.py index 480a690d2..1a9e74692 100644 --- a/docs/tutorials/bfgwiki2/src/models/setup.py +++ b/docs/tutorials/bfgwiki2/src/models/setup.py @@ -1,9 +1,6 @@ import os import sys -from ez_setup import use_setuptools -use_setuptools() - from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) -- cgit v1.2.3