make all parts of the manual compile again; parts of the manual are still out of...
[PyX/mjg.git] / pyx / __init__.py
blob75b2355c77a51002cd4736af1299fd9f31464573
1 #!/usr/bin/env python
2 # -*- coding: ISO-8859-1 -*-
5 # Copyright (C) 2002 Jörg Lehmann <joergl@users.sourceforge.net>
6 # Copyright (C) 2002 André Wobst <wobsta@users.sourceforge.net>
8 # This file is part of PyX (http://pyx.sourceforge.net/).
10 # PyX is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2 of the License, or
13 # (at your option) any later version.
15 # PyX is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with PyX; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 """ PyX := PostScript + Python + TeX
26 PyX is a python package for the creation of encapsulated PostScript
27 figures. It provides both an abstraction of PostScript and a TeX/LaTeX
28 interface. Complex tasks like 2d plots in publication-ready quality
29 are build out of these primitives.
31 """
33 import version
35 __version__ = version.version
37 __all__ = ["box", "canvas", "color", "connector", "data", "deco", "epsfile", "graph", "path",
38 "style", "trafo", "tex", "text", "unit"]
40 # automatically import main modules into pyx namespace
41 for module in __all__:
42 __import__(module, globals(), locals(), [])