6.2. setupjavax.build_java

6.2.1. Module

Compiles Java modules required for Jython.

Supports default standard paths only.

6.2.2. BuildJava

class setupjavax.build_java.BuildJava(dist)[source]

Compile Java modules for Jython.

6.2.2.1. finalize_options

BuildJava.finalize_options()[source]

Set final values for all the options that this command supports. This is always called as late as possible, ie. after any option assignments from the command-line or from other commands have been done. Thus, this is the place to code option dependencies: if ‘foo’ depends on ‘bar’, then it is safe to set ‘foo’ from ‘bar’ as long as ‘foo’ still has the same value it was assigned in ‘initialize_options()’.

This method must be implemented by all command classes.

6.2.2.2. initialize_options

BuildJava.initialize_options()[source]

Set default values for all the options that this command supports. Note that these defaults may be overridden by other commands, by the setup script, by config files, or by the command-line. Thus, this is not the place to code dependencies between options; generally, ‘initialize_options()’ implementations are just a bunch of “self.foo = None” assignments.

This method must be implemented by all command classes.

6.2.2.3. run

BuildJava.run()[source]

Run command.

6.2.3. Exceptions

exception setupjavax.build_java.SetuplibBuildJavaError[source]