Home | History | Annotate | Download | only in distutils

Lines Matching defs:setup

4 the 'setup' function (which is to be called from the setup script).  Also
15 # Mainly import these so setup scripts can "from distutils.core import" them.
22 # runs the setup script with no arguments at all. More useful help
37 # Some mild magic to control the behaviour of 'setup()' from 'run_setup()'.
41 # Legal keyword arguments for the setup() function
57 def setup (**attrs):
58 """The gateway to the Distutils: do everything your setup script needs
62 supplied to 'setup()' (as keyword arguments), in config files, and on
66 the 'distclass' keyword argument to 'setup'; if no such class is
68 All other arguments to 'setup' (except for 'cmdclass') are used to set
111 raise SystemExit("error in setup command: %s" % msg)
113 raise SystemExit("error in %s setup command: %s" % \
120 # the setup script, but be overridden by the command line.
167 # setup ()
171 """Run a setup script in a somewhat controlled environment, and
174 keyword args from 'script' to 'setup()', or the contents of the
183 'stop_after' tells 'setup()' when to stop processing; possible
187 populated with the keyword arguments to 'setup()'
195 stop after all commands have been run (the same as if 'setup()'
225 raise RuntimeError(("'distutils.core.setup()' was never called -- "
226 "perhaps '%s' is not a Distutils setup script?") % \
229 # I wonder if the setup script's namespace -- g and l -- would be of