-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (27 loc) · 928 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
34
35
from setuptools import Extension, find_packages, setup
from Cython.Build import cythonize
#import numpy
modules=[
# Extension("ILI9341", ["ILI9341/ILI9341.py"], include_dirs=[numpy.get_include()]),
Extension("ILI9341", ["ILI9341/ILI9341.py"]),
]
setup(
name="ILI9341",
# Project Version
version="1.0",
# Detailed description of your package
description="Modified version of Adafruids archvived ILI9341 library with multiple extensions/adjustments",
license="MIT",
url="https://github.com/mk-81/ILI9341",
# Dependencies/Other modules required for your package to work
install_requires=["numpy", "RPi.GPIO"],
ext_modules=cythonize(
modules,
compiler_directives={
"language_level":3
}
),
packages=find_packages(),
zip_safe=True,
keywords=["ILI9341"]
)