Home | History | Annotate | Download | only in distutils

Lines Matching refs:script_name

35 def gen_usage(script_name):
36 script = os.path.basename(script_name)
45 setup_keywords = ('distclass', 'script_name', 'script_args', 'options',
103 if 'script_name' not in attrs:
104 attrs['script_name'] = os.path.basename(sys.argv[0])
139 raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
171 def run_setup(script_name, script_args=None, stop_after="run"):
178 'script_name' is a file that will be run with 'execfile()';
209 g = {'__file__': script_name}
213 sys.argv[0] = script_name
216 f = open(script_name)
235 script_name