from distutils.core import setup import sys,os import glob data = [] data.extend(glob.glob('fonts/afm/*.afm')) data.extend(glob.glob('fonts/ttf/*.ttf')) data.extend(glob.glob('images/*.xpm')) setup(name="matplotlib", version= '0.40c', description = "Matlab style python plotting package", author = "John D. Hunter", author_email="jdhunter@ace.bsd.uchicago.edu", url = "http://matplotlib.sourceforge.net", long_description = """ matplotlib strives to produce publication quality 2D graphics using matlab plotting for inspiration. Although the main lib is object oriented, there is a functional matlab style interface for people coming from matlab. """, packages=['matplotlib', 'matplotlib/backends'], platforms='any', data_files=[('share/matplotlib', data)], )