* Fri 2008-03-07 Robert Kern <[EMAIL PROTECTED]> gmane.comp.python.general
* Message-Id: [EMAIL PROTECTED]
setup(name='program',
>> ...
scripts = ['program,py'],
)
that the the result is:
/usr/bin/program
instead of:
/us
* Fri 2008-03-07 Robert Kern <[EMAIL PROTECTED]> gmane.comp.python.general
* Message-Id: [EMAIL PROTECTED]
> Jari Aalto wrote:
>> #!/usr/bin/python
>>
>> from distutils.core import setup
>> import glob
>>
>> setup(name='
Given following setup.py stanza:
#!/usr/bin/python
from distutils.core import setup
import glob
setup(name='program',
description='',
keywords='',
version='',
url='',
download_url='',
license='',
author='',
"Chris F.A. Johnson" <[EMAIL PROTECTED]> writes:
> On 2005-10-15, Jari Aalto wrote:
>Don't indent:
>
> function compile ()
> {
> python -c '
> import os, sys, py_compile;
> i = 0;
> for arg in sys.argv:
> file = os
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Jari Aalto wrote:
>
| > Please suggest comments how can I make this script to work
| > from bash.
>
> replace it with a call to the compileall module?
>
> $ python -mcompileall [directory...]
Thanks, but th
[Keep CC, thank you]
Please suggest comments how can I make this script to work
from bash. Also how can I skip better the [0] argument from
command line without hte extra variable i?
#!/bin/bash
function compile ()
{
python -c '
import os, sys, py_compile;
i