1 from distutils.core import setup
3 from StringIO import StringIO
5 if "sdist" in sys.argv:
8 except (IOError, OSError):
13 html2text.convert_files(open("index.html"), out)
15 open("README", "w").write(out.getvalue())
19 fullname = "Pyrex Import Hooks",
21 description = "Hooks to build and run Pyrex files as if they were simple Python files",
22 author = "Paul Prescod",
23 author_email = "paul@prescod.net",
24 url = "http://www.prescod.net/pyximport",
26 keywords = "pyrex import hook",
27 # scripts = ["pyxrun"],
28 # data_files = [("examples/multi_file_extension",
29 # ["README", "ccode.c", "test.pyx", "test.pyxbld"]),
30 # ("examples/dependencies",
31 # ["README", "test.pyx", "test.pyxdep", "header.h",
32 # "header2.h", "header3.h", "header4.h"])
34 py_modules = ["pyximport", "pyxbuild"])