public marks

PUBLIC MARKS with tag "entry points"

22 November 2005 23:30

fewer moving parts » Blog Archive » discovery using entry_points

by roberto (via)
EasyInstall is great, it automatically detects and installs all dependancies, but there are some other nifty things that you can do with it. Using the entry_points section of the setup.py, you can ‘register’ classes and functions, so they can be located later. Lets say you had a bunch of ‘plugins’ that you wanted dynamically find and load at runtime, with entry_points, it’s fun and easy.

PUBLIC TAGS related to tag "entry points"

dap +   paste +   python +   setuptools +   wsgi +  

Active users

roberto
last mark : 22/11/2005 23:42