Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pantsbuild.pants / init / global_subsystems.py
Size: Mime:
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from pants.binaries.binary_util import BinaryUtil
from pants.goal.run_tracker import RunTracker
from pants.init.repro import Reproducer
from pants.process.subprocess import Subprocess
from pants.python.python_repos import PythonRepos
from pants.reporting.reporting import Reporting
from pants.scm.subsystems.changed import Changed
from pants.source.source_root import SourceRootConfig


class GlobalSubsystems:
    @classmethod
    def get(cls):
        """Subsystems used outside of any task."""
        return {
            SourceRootConfig,
            Reporting,
            Reproducer,
            RunTracker,
            Changed,
            BinaryUtil.Factory,
            Subprocess.Factory,
            PythonRepos,
        }