forked from wolfmanstout/gaze-ocr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (39 loc) · 1.26 KB
/
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
34
35
36
37
38
39
40
41
import setuptools
from distutils.extension import Extension
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="gaze-ocr",
version="0.1.0",
author="James Stout",
author_email="[email protected]",
description="Library for applying OCR to where the user is looking.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wolfmanstout/gaze-ocr",
packages=["gaze_ocr"],
setup_requires=[
# Setuptools 18.0 properly handles Cython extensions.
'setuptools>=18.0',
'cython',
],
install_requires=[
"screen-ocr",
"dragonfly2",
'futures; python_version < "3.2"',
],
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
ext_modules = [
Extension("etpy",
sources=["gaze_ocr/tobii4c/etpy.pyx"],
language="c++",
library_dirs=["/usr/lib/tobii/"],
libraries=["tobii_stream_engine"],
extra_compile_args=["-std=c++17"])
]
)