Re: [Tutor] release a script with non-standard dependencies

2012-12-19 Thread eryksun
On Wed, Dec 19, 2012 at 6:45 PM, Steven D'Aprano wrote: > > 4) Bundle the modules together in one file. If you zip up the modules > in a zip file as if it were a package, *without* the package directory, > then change the file extension to .py, you can run it as if it were a > single Python script

Re: [Tutor] release a script with non-standard dependencies

2012-12-19 Thread Oscar Benjamin
On 19 December 2012 23:45, Steven D'Aprano wrote: > On 20/12/12 04:37, rail shafigulin wrote: > >> I'm attempting to write a script with command-line arguments. Based on >> some >> reading I have done online and some advice from this mailing list I'm >> going >> to use docopt and schema modules. T

Re: [Tutor] release a script with non-standard dependencies

2012-12-19 Thread Steven D'Aprano
On 20/12/12 04:37, rail shafigulin wrote: I'm attempting to write a script with command-line arguments. Based on some reading I have done online and some advice from this mailing list I'm going to use docopt and schema modules. The problem I'm facing is that I'd like to be able to give this scri

Re: [Tutor] release a script with non-standard dependencies

2012-12-19 Thread Andre' Walker-Loud
Hi Rail, > I'm attempting to write a script with command-line arguments. Based on some > reading I have done online and some advice from this mailing list I'm going > to use docopt and schema modules. The problem I'm facing is that I'd like to > be able to give this script to anyone who needs i

[Tutor] release a script with non-standard dependencies

2012-12-19 Thread rail shafigulin
I'm attempting to write a script with command-line arguments. Based on some reading I have done online and some advice from this mailing list I'm going to use docopt and schema modules. The problem I'm facing is that I'd like to be able to give this script to anyone who needs it by just using one f