from chiplotle.cfg.cfg import __version__
__authors__ = "Victor Adan, Douglas Repetto"
__license__ = "GPL"
__url__     = "http://music.columbia.edu/cmc/chiplotle"
__doc__     = \
"""Chiplotle
Python library for pen plotting.

Copyright %s
Version %s
License %s
Homepage %s

""" % (__authors__,__version__,__license__,__url__)


### IMPORTS ###

#def _remove_modules():
#   from types import ModuleType
#   for key, value in globals().items():
#      if isinstance(value, ModuleType) and not key.startswith('_'):
#         globals().pop(key)


from chiplotle.hpgl.commands import *
from chiplotle.hpgl.compound import *
from chiplotle import plotters
from chiplotle.tools import *

from chiplotle.hpgl.coordinatearray import CoordinateArray
from chiplotle.hpgl.coordinatepair import CoordinatePair

#from chiplotle.utils.plottertools import instantiate_plotter
from chiplotle.tools.plottertools import instantiate_plotters

#_remove_modules()

## remove unnecessary modules...
globals().pop('cfg')
globals().pop('hpgl')
globals().pop('interfaces')
globals().pop('tools')
globals().pop('utils')
