How to install decorator
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install decorator
Depended by
- abl.vpath
- adhocracy-Pylons
- Anthrax
- archiveIO
- AuthKit
- authopenid_middleware
- authorize_middleware
- AutoHDL
- benchmarker.py
- BlazeWeb
- BootstrapPy
- botox
- bugwarrior
- byu_ws_sdk
- campari
- casexml
- clepy
- closureidl
- collective.anonymousbrowser
- collective.embedly
- collective.xmpp.chat
- compmake
- context.api
- cuisine_sweet
- django-ajaxutils
- django-datatables
- django-drapes
- django-productline
- dm.zodb.asynchronous
- dogapi
- dynect
- edbob
- elfcloud-weasel
- entrypoint
- entrypoint2
- errormator_client
- Euphorie
- Flask-API
- formprocess
- galah
- gaphas
- geocamUtil
- giotto
- glimpse
- gmusicapi
- gocept.async
- gocept.cache
- gocept.lms
- gocept.runner
- httpbin
- huTools
- jsonpath-rw
- LibAuthKit
- livepandas
- m4us
- memoized
- metrique
- metriqued
- moksha.common
- mypy
- negotiate
- neo4django
- nous.pystat
- nozama-cloudsearch-service
- oboe
- ostrich
- plone.api
- plone.app.collection
- plone.app.multilingual
- plone.app.robotframework
- plone.app.testing
- pto
- PyContracts
- pycuda
- pycurry
- Pyll
- Pylons
- pyopencl
- pyquchk
- pyramid_robot
- pyrone
- pysaml2
- pysmvt
- pystacia
- pytest-twisted
- python-fedora
- pytools
- rattail.pyramid
- readability-api
- repoze.what-pylons
- rest-api-blueprint
- restish
- Restler
- retry
- rightarrow
- robotframework-selenium2library
- seriesly
- SFLvault-client
- Sixpack
- SmartHTTP
- smkcommon
- SpockPy
- sqlalchemy-migrate
- sqlbean
- StarCluster
- StarCluster-openstack
- switchboard
- TaskTracker
- taxtastic
- testfarm
- tgext.xmlrpc
- TurboGears2
- TurboGears2Frozen
- tw2.core
- tw2.devtools
- typelanguage
- uWeb
- valideer
- wallclock
- wizard
- WsgiService
- yoink
- zorm
Lastest release
Installation
If you are lazy, just perform
$ easy_install decorator
which will install just the module on your system. Notice that Python 3 requires the easy_install version of the distribute project.
If you prefer to install the full distribution from source, including the documentation, download the tarball, unpack it and run
$ python setup.py install
in the main directory, possibly as superuser.
Testing
For Python 2.5, 2.6, 2.7 run
$ python documentation.py
for Python 3.X run
$ python documentation3.py
You will see a few innocuous errors with Python 2.5, because some inner details such as the introduction of the ArgSpec namedtuple and Thread.__repr__ changed. You may safely ignore them.
You cannot run the tests in Python 2.4, since there is a test using the with statement, but the decorator module is expected to work anyway (it has been used in production with Python 2.4 for years). My plan is to keep supporting all Python versions >= 2.4 in the core module, but I will keep the documentation and the tests updated only for the latest Python versions in both the 2.X and 3.X branches.
Finally, notice that you may run into trouble if in your system there is an older version of the decorator module; in such a case remove the old version.
Documentation
There are various versions of the documentation:
Repository
The project is hosted on GoogleCode as a Mercurial repository. You can look at the source here:
http://code.google.com/p/micheles/source/browse/#hg%2Fdecorator