-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.67 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
42
43
44
45
46
47
48
49
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is a python install script written for pyIMU python package.
# pip3 install --upgrade setuptools wheel Cython build
#
# py -3 setup.py build_ext --inplace
import io
import os
from setuptools import setup, find_packages
from Cython.Build import cythonize
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# Get the list of Cython module files in the subfolder
cython_modules_path = "bleak"
module_files = [os.path.join(cython_modules_path, f) for f in os.listdir(cython_modules_path) if f.endswith(".py")]
excluded_files = [os.path.join(cython_modules_path, "__init__.py") ]
setup(
name='gearVRC',
version='1.0.0',
description=("Python interface for Samsung gear VR Controller." ),
url='https://github.com/uutzinger/gearVRC',
author='Urs Utzinger',
author_email='uutzinger@gmail.com',
ext_modules = cythonize(module_files, exclude=excluded_files, compiler_directives=dict(language_level = "3")),
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
keywords='VR Controller, gear VR, Samsung',
packages = find_packages(),
install_requires=['pyIMU>=1.0'],
classifiers=[
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: IMU :: AHRS :: Sensor',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
]
)