Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54471 > unrolled thread

Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

Started byGene Heskett <gheskett@wdtv.com>
First post2013-09-20 09:11 -0400
Last post2013-09-20 09:11 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel Gene Heskett <gheskett@wdtv.com> - 2013-09-20 09:11 -0400

#54471 — Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

FromGene Heskett <gheskett@wdtv.com>
Date2013-09-20 09:11 -0400
SubjectRe: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel
Message-ID<mailman.180.1379682696.18130.python-list@python.org>
On Friday 20 September 2013 08:48:44 Chris Angelico did opine:

> On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett <gheskett@wdtv.com> wrote:
> > Can someone take a look at
> > 
> > <http://www.scorchworks.com/Fengrave/fengrave_setup.html#linux_fengrav
> > e>
> > 
> > Then this is what I get:
> > gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py
> > 
> > Traceback (most recent call last):
> >   File "py2exe_setup.py", line 4, in <module>
> >   
> >     import py2exe
> > 
> > ImportError: No module named py2exe
> > 
> > And tell me how to fix this so it runs on an older linux box?
> 
> The page you link to doesn't mention py2exe anywhere. Where did you
> get that you need to run that command?
> 
> ChrisA

From the example command to run the setup, a short script:
gene@coyote:~/src/F-Engrave-1.22_src$ cat py2exe_setup.py
#run this from the command line: python py2exe_setup.py py2exe

from distutils.core import setup
import py2exe

setup(
    options = {"py2exe": {"compressed": 1, "optimize": 0, } },
    zipfile = None,
    console=[{"script":"f-engrave-122.py","icon_resources":
[(0,"fengrave.ico"),(0,"fengrave.ico")]}]

As shown on the setup page accompanying this

<http://www.scorchworks.com/Fengrave/fengrave.html#download>, lower left of 
the list at the top of the page.  Supposedly by using the src, I can build 
it with TTF support, which is missing from the file offered in the right 
most python only column.  All the other checks and tests on the setup page 
work, and all the other dependencies appear to have been met.

The setup file itself I find, shouldn't have been included in the zip 
without a README.linux that says to skip it.

The shipped fengrave-122.py actually runs but is not finding any fonts.  
There s/b quite a few installed since I have used TrueTypeTracer 
extensively before.  But I may have my machines mixed, and the computer 
running the milling machine is probably where I did all that.

I haven't had my morning coffee yet, so I am ill equipt to do more ATM.

Thank you.





Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://gene.homelinux.net:6309/gene> should be up!

Seize the day, put no trust in the morrow!
		-- Quintus Horatius Flaccus (Horace)
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web