File size: 426 Bytes
71687cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
"""
**EXPERIMENTAL**
Register the conda env spec for explicit files.
"""

from .. import hookimpl
from ..types import CondaEnvironmentSpecifier


@hookimpl
def conda_environment_specifiers():
    from ...env.specs.explicit import ExplicitSpec

    yield CondaEnvironmentSpecifier(
        name="explicit",
        environment_spec=ExplicitSpec,
    )