- Moved to GitHub.
- Put into maintenance mode, meaning: critical bugs will be fixed, and support for new versions of Python will be handled, but new features are not being considered.
- Issue #20: Fix “paster points –list” on Python 3.
- Fix cgi_server on Python 3.
- Fix usage of the sort() method on Python 3.
- Fix grep on Python 3.
- Fix –help command on Python 3. Patch written by Atsushi Odagiri (aodag).
- Fix “paster create –template=basic_package test” command on Python 3. Patch written by Atsushi Odagiri (aodag).
- Fix error when ‘paster create –list-template’ on Python 3. Patch written by FGtatsuro.
- Create universal wheel package.
- Experimental Python 3 support.
- six module is now required.
- Drop support of Python 2.5 and older
- Import CherryPy directly instead of including its server inline in the
paste.scriptpackage. You must install CherryPy before using
- 1.7.4 had package release problems, was reverted; 220.127.116.11 also had package problems.
- Include special
__file__default vars for logging config files, similar to PasteDeploy config loading.
- Allow Jython to import various bits from
paste.script.copydirwithout throwing an import error (subprocess module cannot be imported on Jython). This allows PasteScript to work minimally on Jython, although execution will fail for
- CherryPy wsgiserver updated to 3.1.1, fixes a regression in Python 2.5 plus a couple other small fixes.
- filemaker.py’s FileOp can now handle a tuple as a source_dir argument that should function the same as the _template_dir option for pkg_resources.
- CherryPy wsgiserver updated to trunk@2063 for Python 2.6 compatibility.
- _template_dir now takes a tuple argument, which should be the package name, and the relative location to the package of its template directory. pkg_resources will then be used to load make the templates rather than raw file access making it zip-safe.
- CherryPy wsgiserver updated to the 3.1.0 release’s.
- Support Python 2.6.
- Added experimental support for a quicker paster serve –reload for Jython.
- Non-Python files in
paste/script/templates/causes an error on 2.6; renamed directory to avoid this.
- Fixes for
- A setuptools
egg_info.writersentry point is now provided that’s responsible for writing paster_plugins.txt for projects that define a new
paster_pluginssetup() keyword. paster_plugins.txt will still be created for new projects that need it and lack a
paster_pluginssetup() keyword, but this is deprecated. Projects defining
paster_pluginsin setup() should also define a
setup_requiressetup() keyword including PasteScript.
egg_pluginsvariable (a list of strings based off the Templates classes’
egg_pluginsvariables) is now available to paster create templates for the new
- PasteScript is no longer included in
egg_plugins/paster_plugins.txt by default.
- Fix SkipTemplate (could raise
TypeError: argument 1 must be string or read-only buffer, not Nonebefore)
- Added commands
paster request config.ini URLand
paster post config.ini URL < post-body, that allow you to do artificial requests to applications.
- Check the writability of the pid and log files earlier. This caused particular problems if you started it in daemon mode, and the files weren’t writable. From Chris Atlee.
- Start the monitor (when using
--monitor) after daemonizing, so that
paster serve --monitor --daemonworks (before it would constantly restart).
- In Paste Script templates, you can give
should_echo=Falsein variable definitions, and if the user is queried for the variable then the input will not be echoed (as for a password). From Dirceu Pereira Tiegs.
- Added a method
paste.script.appinstall.Installer.template_renderer, which can be used to override template substitution with
paster make-config. The function is similar to the same function used with
--daemonoption from Windows, as it depends on
- When using
paster createand inserting text with a
-*-marker, multi-line text will no longer be reinserted.
- Improved output when skipping templates with
- When starting a server with
paster serve --daemonand the pid file exists and describes a running process, do not start another process.
- Deprecate the flup entry points, as flup now has the necessary entry points in its own package.
- CherryPy wsgiserver updated to the 3.0.2 release’s
- paster no longer hides
pkg_resources.DistributionNotFounderror messages describing the target project’s requirements. Aids the somewhat confusing “did you run setup.py develop?” message when it had already been ran, but since then had a requirement added that wasn’t installed.
- Logging configuration is now read from the config file during
- Custom Formatters and Handlers (Handlers outside of the logging module) are now supported in logging configuration files.
- Initialize logging earlier in the serve command for components that want to utilize it. Patch from Christopher Lenz.
- Fixed Python 2.3 incompatibility (no
- Make sure that when using
--reload, if the parent monitoring process dies, also kill the subprocess.
- When using
paster serve --log-file, append to the log file (was truncating any previous contents).
- Read logging information from the server file, using the logging module’s standard configuration format
- When adding files don’t fail because an svn command fails. Helpful particularly on Windows, when the svn command-line isn’t installed (e.g., using TortoiseSVN).
- Fixed problem with
paster serveon Windows. Also on Windows, fixed issue with executables with spaces in their names (this case requires the
- You can use
+dot+in your project template filenames, specifically so that you can use leading dots in the filename. Usually leading dots cause the file to be ignored. So if you want to have new projects contain a
.cvsignorefile, you can put a
+dot+cvsignorefile in your template.
+plus+has been added so you can include pluses.
- Fix related to Python 2.5 (when there are errors creating files, you could get infinite recursion under Python 2.5).
paster servecommand. Added
--monitoroption which will restart the server if it exits.
execommand now does % substitution in keys (e.g.,
- Some import problems with Cheetah should be improved.
- Fixed an exception being raised when shutting down flup servers using sockets.
- Fixed the CherryPy 3 WSGI server entry point’s handling of SIGHUP and SIGTERM.
- The CherryPy wsgiserver is now available at
paste.script.wsgiserver(no longer requiring CherryPy to be installed).
- Added entry point for twisted server.
paste.script.pluginlib:egg_info_dirwork with packages that put the
Package.egg-info/directory in a subdirectory (typically
- Remove Cheetah requirement. Packages using Cheetah templates should
require Cheetah themselves. If you are using
paster make-configand you don’t want to use Cheetah, you must add
use_cheetah = Falseto your
Installersubclass (it defaults to true for backward compatibility).
- Make scripts work when there is no
setup.py(if you aren’t making a Python/setuptools package).
- When using
paste.script.copydir.copy_dir(as with most
paster createtemplates), you can raise
SkipTemplate(or call the
skip_template()function) which will cause the template to be skipped. You can use this to conditionally include files.
- When using
paster serve c:/..., it should no longer confuse
c:with a scheme (such as
- More careful about catching import errors in
websetup, so if you have a bug in your
app.websetupmodule it won’t swallow it.
- Added a
Command.run_command, and make
ensure_fileuse this for its svn command.
- If the svn command-line program isn’t working for you, commands that
ensure_filewill continue to work but just with a warning.
- Removed copyright notice that was accidentally included in new
packages created by
- Allow variable assignments at the end of
paster serve, like
paster serve http_port=80; then you can use
%(http_port)sin your config files (requires up-to-date Paste Deploy).
- Allow a
package_dirvariable so that you can put your package into subdirectories of the base directory (e.g.,
- Changes to the
twisted.web2wrapper (from pythy).
- Warn when you run
paster setup-appand no modules are listed in
top_level.txt(which can happen with a newly checked out project).
- Added entry point for CherryPy 3’s WSGI server.
paster serveto hide KeyboardInterrupt (CTRL-C) tracebacks in
paste.script.copydir.copydir. This allows you to use arbitrary template languages, instead of just
- egg:PasteScript#test (the paste.script.testapp) now accepts
lintwill turn on
textwill cause it to return a simple text/plain response with the environ, instead of an HTML table.
- Improvements all around to
paster points, plus documentation for existing entry point groups.
- New projects will now ignore
Package.egg-info/dependency_links.txt, just like all the other derivative files in the
paster serve --reloadwas broken on Windows when the Python executable was in a directory with spaces in it. This is probably a bug in the
- Update to filemaker commands to take optional argument so that when new directories are for a Python package, they will have a __init__.py created as well.
- Do all variable assignment during package creation up-front, before actually creating the files.
- Added the
eggtemplate variable: provides projects with a safe egg name as generated by setuptools. This should be used for egg-info directories in templates (e.g.
+project+.egg-info), and anywhere else the egg name is expected, to prevent errors with project names containing hyphens.
- Installer calls
websetup.setup_app(command, conf, vars);
setup_config()will be deprecated in the future
- Added copyright information
paster serve config.ini#sectionworks now
paster make-config/setup-appwill read
$PASTE_SYSCONFIGto find extra
paster createwill now query interactively for variables if they aren’t explicitly provided.
- If the output directory doesn’t exist when running
paster create, do not default to having interactive (confirmation) on.
- Fixed the Flup FastCGI interface. (There seem to still be problems with forking FastCGI.)
prepare-appcommand has been renamed
- Changed the way
sysconfig– these are now modules that can define various functions
- Allow for default config file names
- Consider config generation that may produce a directory (this case is now generally workable)
- Allow for multiple config files (specifically with –edit)
- Give config file generation the variables
app_install_secretthat they can use for their config files
- Include Ka-Ping Yee’s uuid module in
paster helpdoesn’t bail when commands can’t be loaded
- Be a little safer when
--setupis provided (don’t automatically set up if the edit seems to have failed)
- Two small bugfixes, one related to the
basic_packagetemplate (it included a reference to
finddata, which it should not have), and a fix to how the
.egg-infodirectory is determined.
pointscommand, for entry-point related queries.
- paste.deploy config files that start with
#!/usr/bin/env pastercan make a script into an executable.
- Improvements to
- Handle bad PID files better
- Daemonization is more reliable
restartinstead of just options
- Improvements to
- Invoked interactively by default (so that you are warned before overwriting files)
- Added new commands:
pointsfor viewing Egg entry point information
setup-appfor installing web applications
- Fixed bug in how Egg distributions are loaded.
- Fixed small bug with running
paster serveon Windows. (Small to fix, kept script from running on Windows entirely).