summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-25 01:19:18 +0000
committerGreg Ward <gward@python.net>2000-05-25 01:19:18 +0000
commit51eabe3d7e31ed571829ef90d2023bc94eab64ca (patch)
tree3d64182c8ce929af0808e7cf9b01b2f20025d653 /Python/pythonrun.c
parentb47d24f8fdef182eff3016ba93868e012728f7a9 (diff)
downloadcpython-51eabe3d7e31ed571829ef90d2023bc94eab64ca.tar.gz
Bastian Kleineidam: the "build_scripts" command and changes
necessary to support it. Details: - build command additionally calls build_scripts - build_scripts builds your scripts in 'build/scripts' and adjusts the first line if it begins with "#!" and ends with "python", optionally ending with commandline options (like -O, -t ...). Adjusting means we write the current path to the Python interpreter in the first line. - install_scripts copies the scripts to the install_scripts dir - install_data copies your data_files in install_data. You can supply individual directories for your data_files: data_files = ['doc/info.txt', # copy this file in install_scripts dir ('testdata', ['a.dat', 'b.dat']), # copy these files in # install_scripts/testdata ('/etc', ['packagerc']), # copy this in /etc. When --root is # given, copy this in rootdir/etc ] So you can use the --root option with absolute data paths.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions