diff --git a/pyproject.toml b/pyproject.toml index 80956f9..a08e198 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "belleii_rucio_policy_package" -version = "0.0.2" +version = "0.0.3" authors = [ { name="Belle II", email="placeholder@placeholder.com" }, ] diff --git a/src/belleii_rucio_policy_package/__init__.py b/src/belleii_rucio_policy_package/__init__.py index 91fa498..04304ee 100644 --- a/src/belleii_rucio_policy_package/__init__.py +++ b/src/belleii_rucio_policy_package/__init__.py @@ -1,18 +1,18 @@ -import non_deterministic_pfn -import scope -import lfn2pfn +from belleii_rucio_policy_package.non_deterministic_pfn import BelleIINonDeterministicPFNAlgorithm +from belleii_rucio_policy_package.scope import BelleIIScopeExtractionAlgorithm +from belleii_rucio_policy_package.lfn2pfn import BelleIIRSEDeterministicTranslation SUPPORTED_VERSION = ["35"] # Only use with Rucio >=35.1.0 - pending https://github.com/rucio/rucio/issues/7082 def get_algorithms(): return { 'non_deterministic_pfn': { - 'belleii_non_deterministic_pfn': non_deterministic_pfn.BelleIINonDeterministicPFNAlgorithm.construct_non_deterministic_pfn_belleii + 'belleii_non_deterministic_pfn': BelleIINonDeterministicPFNAlgorithm.construct_non_deterministic_pfn_belleii }, 'lfn2pfn': { - 'belleii_lfn2pfn': lfn2pfn.BelleIIRSEDeterministicTranslation.lfn2pfn_belleii + 'belleii_lfn2pfn': BelleIIRSEDeterministicTranslation.lfn2pfn_belleii }, 'scope': { - 'belleii_extract_scope': scope.BelleIIScopeExtractionAlgorithm.extract_scope_belleii + 'belleii_extract_scope': BelleIIScopeExtractionAlgorithm.extract_scope_belleii } } \ No newline at end of file