Removed obsolete install.py script, and replaced it with a
proper setup.py, offering full distutils support. So far only
tested under MacOS.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@140 4cde692c-a291-49d1-8350-778aa11640f8
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..7601f3d
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,37 @@
+#! /usr/bin/env python
+
+import os, sys
+from distutils.core import setup, Extension
+
+
+setup( name = "FontTools",
+ version = "1.0",
+ description = "FontTools",
+ author = "Just van Rossum",
+ author_email = "just@letterror.com",
+ url = "http://fonttools.sourceforge.net/",
+
+ packages = [
+ "",
+ "fontTools",
+ "fontTools.encodings",
+ "fontTools.misc",
+ "fontTools.ttLib",
+ "fontTools.ttLib.tables",
+ "fontTools.ttLib.test",
+ ],
+ package_dir = {'': 'Lib'},
+ extra_path = 'FontTools',
+ ext_modules = [
+ Extension(
+ "eexecOp",
+ ["Src/eexecOp/eexecOpmodule.c"],
+ include_dirs=[],
+ define_macros=[],
+ library_dirs=[],
+ libraries=[],
+ )
+ ]
+
+ )
+