mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 18:44:09 +01:00
Add Python wrapper from Martin Hosken
This commit is contained in:
1 parent
280af1bddb
commit
5035530904
4 files changed
+367
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from distutils.core import setup
|
||||
from glob import glob
|
||||
from Pyrex.Distutils.extension import Extension
|
||||
from Pyrex.Distutils import build_ext
|
||||
|
||||
setup(name='harfbuzz',
|
||||
version='0.0.1',
|
||||
description='Harfbuzz compatibility layer',
|
||||
long_description='Harfbuzz python integration modules and supporting scripts',
|
||||
maintainer='Martin Hosken',
|
||||
maintainer_email='martin_hosken@sil.org',
|
||||
packages=['harfbuzz'],
|
||||
ext_modules = [
|
||||
Extension("harfbuzz", ["lib/harfbuzz.pyx"], libraries=["harfbuzz"], library_dirs=["../../src/.libs"], include_dirs=["/usr/include/freetype2", "../../src"])
|
||||
],
|
||||
cmdclass = {'build_ext' : build_ext},
|
||||
scripts = glob('scripts/*'),
|
||||
license = 'LGPL',
|
||||
platforms = ['Linux', 'Win32', 'Mac OS X'],
|
||||
package_dir = {'harfbuzz' : 'lib'}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user