added warning about dependency on NumPy and PyXML

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@151 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
jvr 2001-08-09 23:03:47 +00:00
parent 28e74abf1c
commit 5808f3ff71

View File

@ -4,6 +4,20 @@ import os, sys
from distutils.core import setup, Extension from distutils.core import setup, Extension
try:
import Numeric
except ImportError:
print "*** Warning: FontTools needs Numerical Python (NumPy), see:"
print " http://sourceforge.net/projects/numpy/"
try:
import xml.parsers.xmlproc
except ImportError:
print "*** Warning: FontTools needs PyXML, see:"
print " http://sourceforge.net/projects/pyxml/"
setup( name = "FontTools", setup( name = "FontTools",
version = "1.0", version = "1.0",
description = "FontTools", description = "FontTools",