Class: build_scripts_create | Twisted-0.19.0/setup.py | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Overload the build_scripts command and create the scripts from scratch, depending on the target platform. You have to define the name of your package in an inherited class (due to the delayed instantiation of command classes in distutils, this cannot be passed to __init__). The scripts are created in an uniform scheme: they start the run() function in the module <packagename>.scripts.<mangled_scriptname> The mangling of script names replaces '-
|