Fix swig build (missing arg broke ISR callbacks), clean up unneeded makefile, bump version for release.
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 08c1d7b..0000000
--- a/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-all: bindings
- python setup.py build
-
-bindings:
- swig3.0 -python -threads wiringpi.i
-
-clean:
- rm -rf build/
- rm -rf dist/
-
-install:
- sudo python setup.py install
diff --git a/setup.py b/setup.py
index 30b7cd2..61dcfbc 100644
--- a/setup.py
+++ b/setup.py
@@ -60,12 +60,13 @@
'_wiringpi',
include_dirs=['WiringPi/wiringPi','WiringPi/devLib'],
sources=sources,
+ swig_opts=['-threads'],
extra_link_args=['-lcrypt', '-lrt']
)
setup(
name = 'wiringpi',
- version = '2.44.4',
+ version = '2.44.5',
ext_modules = [ _wiringpi ],
py_modules = ["wiringpi"],
install_requires=[],