-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 868 Bytes
/
setup.py
File metadata and controls
31 lines (28 loc) · 868 Bytes
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
import setuptools
import sys
from distutils.core import Extension
if sys.version_info < (3,0):
sys.exit('Sorry, Python < 3.0 is not supported')
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="ledpixelmath",
version="1.0.3",
description = 'Does heavy LED pixel calculations.',
long_description=long_description,
long_description_content_type="text/markdown",
author="Tim Greve",
author_email="tgreve@stakotec.de",
url="https://github.com/tgreve85/ledpixelmath",
keywords = ['led', 'pixel', 'math', 'calculation'],
ext_modules=[
Extension("ledpixelmath", ["ledpixelmath.cpp"],
extra_compile_args=['-std=c++17'])
],
include_package_data=True,
classifiers=(
"Programming Language :: C++",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: POSIX"
)
)