From 936ee7ab93a22247c7fea8af8da764be9bd2f0e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Thu, 22 Sep 2005 07:47:11 +0000 Subject: [PATCH] some t1strip to t1code renaming ... since I expect it'll be useful already keep it instead of a full removal; remove a remaining unused reference to t1strip git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2468 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/type1font.py | 2 +- setup.cfg | 4 ++-- setup.py | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyx/type1font.py b/pyx/type1font.py index 2bf46cfe..6c0193fd 100644 --- a/pyx/type1font.py +++ b/pyx/type1font.py @@ -26,7 +26,7 @@ try: import zlib except: pass -import bbox, canvas, pswriter, pdfwriter, t1strip +import bbox, canvas, pswriter, pdfwriter try: enumerate([]) diff --git a/setup.cfg b/setup.cfg index 6320f6c3..4b3ddea0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,8 +1,8 @@ [PyX] # In this section you can specify which c extension modules should be built -# C extension module for partial font downloading -build_t1strip=0 +# C extension module for fast t1font decoding and encoding +# build_t1code=0 # Python bindings for the kpathsea library. You need the kpathsea header # and library and you may need to specify their location below. diff --git a/setup.py b/setup.py index 6c0b6bbd..c76e2e52 100755 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ ext_modules = [] pykpathsea_ext_module = Extension("pyx.pykpathsea._pykpathsea", sources=["pyx/pykpathsea/pykpathsea.c"], libraries=["kpathsea"]) -t1strip_ext_module = Extension("pyx.t1strip._t1strip", - sources=["pyx/t1strip/t1strip.c", "pyx/t1strip/writet1.c"]) +# t1code_ext_module = Extension("pyx.font._t1code", +# sources=["pyx/font/_t1code.c"]) # obtain information on which modules have to be built from setup.cfg file cfg = ConfigParser.ConfigParser() @@ -39,8 +39,8 @@ cfg.read("setup.cfg") if cfg.has_section("PyX"): if cfg.has_option("PyX", "build_pykpathsea") and cfg.getboolean("PyX", "build_pykpathsea"): ext_modules.append(pykpathsea_ext_module) - if cfg.has_option("PyX", "build_t1strip") and cfg.getboolean("PyX", "build_t1strip"): - ext_modules.append(t1strip_ext_module) + if cfg.has_option("PyX", "build_t1code") and cfg.getboolean("PyX", "build_t1code"): + ext_modules.append(t1code_ext_module) ################################################################################ # data files @@ -190,7 +190,7 @@ setup(name="PyX", description=doclines[0], long_description="\n".join(doclines[2:]), license="GPL", - packages=["pyx", "pyx/graph", "pyx/graph/axis", "pyx/t1strip", "pyx/pykpathsea"], + packages=["pyx", "pyx/graph", "pyx/graph/axis", "pyx/font", "pyx/pykpathsea"], ext_modules=ext_modules, data_files=data_files, cmdclass = {"build_py": pyx_build_py, -- 2.11.4.GIT