diff options
| author | Bernát Gábor <gaborjbernat@gmail.com> | 2022-07-25 00:33:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-25 00:33:42 -0700 |
| commit | b85542c31ca8afcff317e618da434f59fa06d122 (patch) | |
| tree | 450066fe494d366c03da70b0de10899d5738d425 /src/virtualenv/activation/powershell | |
| parent | 3c57468470c292b235a67b27cec9468cc913f268 (diff) | |
| download | virtualenv-b85542c31ca8afcff317e618da434f59fa06d122.tar.gz | |
Drop support of running under Python 2.7 (#2382)
Diffstat (limited to 'src/virtualenv/activation/powershell')
| -rw-r--r-- | src/virtualenv/activation/powershell/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/virtualenv/activation/powershell/__init__.py b/src/virtualenv/activation/powershell/__init__.py index 4fadc63..6d561bf 100644 --- a/src/virtualenv/activation/powershell/__init__.py +++ b/src/virtualenv/activation/powershell/__init__.py @@ -1,6 +1,4 @@ -from __future__ import absolute_import, unicode_literals - -from virtualenv.util.path import Path +from pathlib import Path from ..via_template import ViaTemplateActivator @@ -8,3 +6,8 @@ from ..via_template import ViaTemplateActivator class PowerShellActivator(ViaTemplateActivator): def templates(self): yield Path("activate.ps1") + + +__all__ = [ + "PowerShellActivator", +] |
