This repository was archived by the owner on Nov 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1+ lirc /lirc.c
2+ dist /
3+ python_lirc.egg-info /
4+ build /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- Cython = =0.28.2
1+ Cython > =0.28.2
Original file line number Diff line number Diff line change 11import sys
2- from distutils .core import setup , Extension
2+ from setuptools import setup , Extension , find_packages
3+ from Cython .Build import cythonize
34
45
56lirc_ext = Extension (
67 'lirc' ,
78 include_dirs = ['/usr/include/lirc/' ],
89 libraries = ['lirc_client' ],
910 library_dirs = ['/usr/lib' ],
10- sources = ['lirc/lirc.c ' ]
11+ sources = ['lirc/lirc.pyx ' ]
1112)
1213
1314setup (
1819 author_email = 'thomasmarkpreston@gmail.com' ,
1920 license = 'GPLv3+' ,
2021 url = 'https://github.com/tompreston/python-lirc' ,
21- ext_modules = [lirc_ext ],
22+ setup_requires = ['Cython>=0.28.2' ],
23+ packages = find_packages (),
24+ ext_modules = cythonize ([lirc_ext ]),
25+ zip_safe = False ,
2226 long_description = open ('README.md' ).read () + open ('CHANGELOG' ).read (),
2327 classifiers = [
2428 "License :: OSI Approved :: GNU Affero General Public License v3 or "
You can’t perform that action at this time.
0 commit comments