>From a command prompt, run ./filename - that's the norm for running a
program in the current directory. To run it with just the name, it needs to
be in a directory listed in $PATH.
Thomas
On Aug 20, 2013 5:59 PM, "Max Bedacht" <bedac...@gmail.com> wrote:
> Thanks for your answer Thomas - I did not see that error - but fixing it
> did not change the error.
>
> I have gone to using the script.py (I was having trouble understanding how
> to include the other modules) and it seems OK, but now that it has run I
> can't, for the life of me, figure out how to execute the result.
>
> The compile, in the build directory, seems to have all of the libraries
> etc. that are needed and a file (which Ubuntu says is a program) with the
> script name (minus the PY suffix). How do you run the thing? Double
> clicking does nothing. Running it in a term window gives me an error (it
> says Command not Found).
>
> How do you execute the d... thing?
>
> Max
>
>
> On Tue, Aug 20, 2013 at 8:40 PM, Thomas Kluyver <tak...@gmail.com> wrote:
>
>> Hi Max,
>>
>> On 20 August 2013 16:08, Max Bedacht <bedac...@gmail.com> wrote:
>>
>>> I am trying to 'compile' an application with four module (.py) files. I
>>> have tried with the setup.py script and I can't figure out how to include
>>> the modules. I an now trying with a cxfreeze script in a bash file and
>>> still can't come to a successful end. My script is :
>>>
>>
>> In general, a setup.py script is the more flexible option, so I'd
>> recommend that. You shouldn't need to explicitly include the modules if
>> your main script imports them - cx_Freeze can follow the imports.
>>
>>
>>> cxfreeze inventory_menu.py --target-dir=dist --target-name=HomeInv
>>> --include-modules=inventory_functions.py,inventory_user_interface.py,invlog.py
>>>
>>> This script runs and gives an error on the firse incluce:
>>>
>>> quote:
>>> /home/max/cx_ubuntu/freeze.sh: line 6: cd: /max/cx_ububtu: No such file
>>> or directory
>>>
>>
>> Note that there's an error here before it does anything with cx_Freeze.
>> bash can ignore errors and carry on trying to run a script, which often
>> isn't what you want. Put 'set -e' at the top of a script to make it abort
>> on an error.
>>
>> Thomas
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> cx-freeze-users mailing list
>> cx-freeze-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users