Comments (5)
nevertheless, I meant.
Original comment by [email protected]
on 27 Jan 2011 at 9:33
from artisan.
Hi Lukas,
thanks for the hint. As we do not have access to a Linux machine we just did
some educated guess on the serial ports on Linux. Good to hear that we were not
completely off. I just added /dev/ttyS to the for loop:
for prefix, description, klass in (
("/dev/ttyS", "Standard serial port", "serial"),
("/dev/cua", "Standard serial port", "serial"),
("/dev/ttyUSB", "USB to serial convertor", "serial"),
("/dev/usb/ttyUSB", "USB to serial convertor", "serial"),
("/dev/usb/tts/", "USB to serial convertor", "serial")
):
Should this work?
And yes you are right wrt. the structure. The code needs some cleanup. You are
welcome to contribute!
So you say Artisan runs on Linux!?
May I ask you if it would be possible for you to generate binaries of Artisan
for Linux?
I found this:
<http://www.mail-archive.com/[email protected]/msg00313.html>
but PyInstaller <http://www.pyinstaller.org/> might work better.
Currently we use py2exe for Windows and py2app for the Mac versions.
Marko
Original comment by [email protected]
on 27 Jan 2011 at 7:44
- Changed state: Accepted
from artisan.
Hi Marko,
yes, it does indeed run on linux - I only needed to install some dependencies
beforehand: python-matplotlib, python-numpy, python-scipy and python-qt4,
obviously.
Generating a single 'binary' for 'linux' is not a good idea, though - there are
too many different distributions and flavours of linux in the wild, it simply
wouldn't run everywhere (or even anywhere for that matter ;)).
What I'm possibly able to do is package the software for Debian-based
distributions - either as a so called unofficial 'personal package archive
(PPA)' for the Ubuntu distribution and/or an unoffical repository for Debian
itself. This would take one or two weeks though.
Regards,
Lukas
Original comment by [email protected]
on 27 Jan 2011 at 9:28
from artisan.
Hi
Thanks for pointing out the possibility of making a Linux binary.
For linux, I've heard about bbfreeze, which is similar to py2exe and py2app
http://pypi.python.org/pypi/bbfreeze
But I am not sure if it works as described (it may not be easy).
There is also another tool called CDE to make standalone Linux programs. Looks
much easier to use than bbfreeze but I am not sure if it works. In the video
demo there is a matplolib program example (what we use).
http://www.stanford.edu/~pgbovine/cdepack.html
Cheers
Original comment by [email protected]
on 28 Jan 2011 at 2:23
from artisan.
Original comment by [email protected]
on 29 Jan 2011 at 12:05
- Changed state: Fixed
from artisan.
Related Issues (20)
- BT reading above 800. Roaster not ON. HOT 2
- Phidget 1048 sensor not connected with Artisan Linux version HOT 3
- Total Time Missing / Showing MET Instead HOT 3
- Title of Roast Is Not Centered. Just Left Justified HOT 1
- Amprobe TMD 56 will not connect to Artisan on Dell Windows 8 HOT 7
- Internal Server Error during attempted download HOT 2
- Artisan TC4 - Popper suddenly stops, now it doesn't work HOT 1
- CSV file import HOT 2
- slideraction does not work with calling external programs HOT 4
- Delay in logging and response after upleveling from 7.5 to 9.2 HOT 2
- Yoctopuce error HOT 4
- CSV import broken HOT 3
- Revisit artisan on Raspberry Pi? HOT 2
- Mastech MS6514 HOT 7
- Phidget 1051 support in the newest versions HOT 1
- artisan read invalid temperature from MS6514 HOT 3
- MET LCD (Extra Device Center 309_34) not showing temp in assigned LCD HOT 3
- Initial conditions should be logged HOT 4
- HH802 connect issue
- Can't connect Amprobe through Ubuntu HOT 1
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 artisan.