Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
nevertheless, I meant.

Original comment by [email protected] on 27 Jan 2011 at 9:33

from artisan.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024

Original comment by [email protected] on 29 Jan 2011 at 12:05

  • Changed state: Fixed

from artisan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.