Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Str keyword NameLoad keyword Str keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Num keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Num keyword Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad Call NameLoad NameLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias alias Assign NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Return TupleLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A logging N/A os pants.base.build_environment get_buildroot pants.pantsd.pants_daemon PantsDaemon pants.pantsd.service.fs_event_service FSEventService pants.pantsd.service.pailgun_service PailgunService pants.pantsd.service.scheduler_service SchedulerService pants.pantsd.subsystem.watchman_launcher WatchmanLauncher pants.process.lock OwnerPrintingInterProcessFileLock pants.subsystem.subsystem Subsystem pants.util.memo testable_memoized_property PantsDaemonLauncher N/A Subsystem N/A N/A A subsystem that manages the configuration and launching of pantsd. N/A options_scope pantsd register_options N/A N/A cls register N/A N/A N/A N/A register --pailgun-host advanced True default 127.0.0.1 help The host to bind the pants nailgun server to. N/A N/A register --pailgun-port advanced True type int default 0 help The port to bind the pants nailgun server to. Defaults to a random port. N/A N/A register --log-dir advanced True default None help The directory to log pantsd output to. N/A N/A register --fs-event-detection advanced True type bool help Whether or not to use filesystem event detection. Experimental. N/A N/A register --fs-event-workers advanced True type int default 4 help The number of workers to use for the filesystem event service executor pool. Experimental. N/A classmethod subsystem_dependencies N/A N/A cls N/A N/A N/A N/A N/A N/A N/A super PantsDaemonLauncher cls subsystem_dependencies N/A N/A WatchmanLauncher Factory N/A classmethod __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super PantsDaemonLauncher self __init__ args kwargs N/A N/A self _logger N/A N/A logging getLogger __name__ N/A N/A self _build_root N/A get_buildroot N/A options N/A N/A self get_options N/A N/A self _pants_workdir N/A options pants_workdir N/A N/A self _log_dir N/A options log_dir N/A N/A self _log_level N/A N/A N/A options level upper N/A N/A self _pailgun_host N/A options pailgun_host N/A N/A self _pailgun_port N/A options pailgun_port N/A N/A self _fs_event_enabled N/A options fs_event_detection N/A N/A self _fs_event_workers N/A options fs_event_workers N/A N/A self _pantsd None N/A N/A self _scheduler None N/A N/A self _lock N/A OwnerPrintingInterProcessFileLock N/A N/A N/A os path join N/A self _build_root .pantsd.startup N/A pantsd N/A N/A self N/A N/A N/A N/A PantsDaemon N/A self _build_root N/A self _pants_workdir N/A self _log_level N/A self _log_dir N/A testable_memoized_property watchman_launcher N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A WatchmanLauncher Factory global_instance create N/A testable_memoized_property set_scheduler N/A N/A self scheduler N/A N/A N/A N/A self _scheduler scheduler N/A _setup_services N/A N/A self watchman N/A N/A N/A Initialize pantsd services.

    :returns: A tuple of (`tuple` service_instances, `dict` port_map).
     pants.bin.daemon_pants_runner DaemonExiter DaemonPantsRunner N/A pailgun_service N/A PailgunService N/A N/A self _pailgun_host N/A self _pailgun_port DaemonExiter DaemonPantsRunner N/A services N/A pailgun_service N/A N/A N/A self _fs_event_enabled N/A self _scheduler N/A N/A fs_event_service N/A FSEventService watchman N/A self _build_root N/A self _fs_event_workers N/A scheduler_service N/A SchedulerService N/A self _scheduler fs_event_service N/A N/A N/A services extend N/A fs_event_service scheduler_service N/A port_map N/A dict pailgun N/A pailgun_service pailgun_port N/A N/A N/A tuple services port_map N/A _launch_pantsd N/A N/A self N/A N/A N/A watchman N/A N/A self _fs_event_enabled N/A N/A N/A self watchman_launcher maybe_launch None N/A N/A services port_map N/A N/A self _setup_services watchman N/A N/A N/A N/A self pantsd set_services services N/A N/A N/A N/A self pantsd set_socket_map port_map N/A N/A N/A N/A self pantsd daemonize N/A N/A N/A N/A self pantsd await_pid 10 N/A maybe_launch N/A N/A self N/A N/A N/A N/A N/A N/A self _logger debug N/A N/A acquiring lock: {} format N/A self _lock N/A N/A self _lock N/A N/A N/A N/A N/A N/A self pantsd is_alive N/A N/A N/A N/A N/A self _logger debug launching pantsd N/A N/A N/A self _launch_pantsd N/A N/A N/A N/A self _logger debug N/A N/A released lock: {} format N/A self _lock N/A N/A N/A N/A self _logger debug N/A N/A pantsd is running at pid {} format N/A N/A self pantsd pid N/A terminate N/A N/A self N/A N/A N/A N/A N/A N/A self pantsd terminate N/A N/A self _fs_event_enabled N/A N/A N/A N/A N/A self watchman_launcher terminate N/A N/A