-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (28 loc) · 975 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from sys import platform
from setuptools import Extension, setup
sources = ['pyfribidi/fribidi.c']
libraries = ['fribidi']
if platform == "linux" or platform == "linux2":
include_dirs = ['/usr/include/fribidi/']
library_dirs = ['/usr/include']
elif platform == "darwin":
library_dirs = ['/usr/local/include']
include_dirs = ['/usr/local/include/fribidi']
setup(
name='python-fribidi',
version='0.1.0',
description='Python(Cython) Binding for Fribidi The Free Implementation of the Unicode Bidirectional Algorithm.',
author='Sepehr Hamzehlouy',
author_email='s.hamzelooy@gmail.com',
license='MIT',
url='https://github.com/RevengeComing/python-fribidi',
packages=['pyfribidi'],
ext_modules=[Extension(
name='pyfribidi.fribidi',
sources=sources,
libraries=libraries,
library_dirs=library_dirs,
include_dirs=include_dirs)
],
include_package_data=True
)