Comments (6)
you need to build your own waf executable with the tool included. clone the waf repo and do
./waf-light --tools=cython
from libmonome.
you need to build your own waf executable with the tool included. clone the waf repo and do
./waf-light --tools=cython
@wrl I manged to get it to work by including the waf cython tool which is part of the extra modules https://github.com/waf-project/waf/blob/master/waflib/extras/cython.py.
Which way would you prefer to fix this? Build the waf
executable which includes the cython waf tool or include the above mentioned file in the repo?
from libmonome.
would much prefer building the waf executable.
from libmonome.
would much prefer building the waf executable.
OK, I'll create a PR
from libmonome.
Just tried to build this with
./waf configure --enable-python --python=/usr/local/bin/python2.7
./waf build
./waf install
but the python bindings aren't showing up in /usr/local/lib/python2.7/site-packages
, and import monome
fails. Not sure if I'm doing something wrong as I thought this issue was resolved...
from libmonome.
I was able to build it manually by making a setup.py
file with the contents:
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
ext_modules = [
Extension("monome",
sources=["monome.pyx"],
libraries=["monome"] # Unix-like specific
)
]
setup(name="Demos",
ext_modules=cythonize(ext_modules))
and invoking python setup.py build_ext --inplace
from libmonome.
Related Issues (20)
- Can we get a tag for v1.1 HOT 1
- problems with event handling via python HOT 4
- Build instructions HOT 1
- Broken with liblo 0.27
- Can't get examples to work HOT 2
- Can't build with clang HOT 6
- liblo not found on OS X 10.9 HOT 8
- Checking for liblo fails HOT 6
- Homepage is not reachable HOT 1
- Compilation fails when building without udev HOT 5
- Add option to not run ldconfig (or don't run it at all?) HOT 1
- Add pkg-config file to make it easier for other projects to use libmonome?
- macOS Mojave build failure, due to -mmacosx-version-min=10.5
- Drop Python bindings? HOT 10
- Build fails with Python > 3.6 because of old waf version HOT 3
- [Question] Difference between LED intensity and LED level all HOT 2
- OpenBSD support HOT 2
- liblo not found: macOS12.6 + M1
- `monome_event_next` sometimes produces odd results HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmonome.