public marks

PUBLIC MARKS from roberto with tags dap & setuptools

22 November 2005 23:30

fewer moving parts » Blog Archive » discovery using entry_points

(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.

roberto's TAGS related to tag dap

blog +   data +   dods +   entry points +   google +   ocean +   opendap +   paste +   pydap +   python +   setuptools +   weblog +   wishlist +   WMS +   wsgi +