-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get mypy passing under Windows (#58)
Closes #56
- Loading branch information
1 parent
d32ca9d
commit 7cdcf90
Showing
6 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import sys | ||
|
||
if sys.platform == "win32": | ||
print("Microvenv's CLI is not supported on Windows", file=sys.stderr) | ||
sys.exit(1) | ||
|
||
from ._create import main | ||
|
||
if __name__ == "__main__": | ||
if sys.platform == "win32": | ||
print("Microvenv's CLI is not supported on Windows", file=sys.stderr) | ||
sys.exit(1) | ||
|
||
main() |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
from os import PathLike | ||
import sys | ||
from typing import Iterable | ||
|
||
DEFAULT_ENV_DIR: str | ||
|
||
if sys.platform != "win32": | ||
def create( | ||
env_dir: str | PathLike[str] = ..., *, scm_ignore_files=Iterable[str] | ||
) -> None: ... | ||
def main() -> None: ... | ||
def create( | ||
env_dir: str | PathLike[str] = ..., *, scm_ignore_files=Iterable[str] | ||
) -> None: ... | ||
def main() -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ build-backend = "hatchling.build" | |
|
||
[project] | ||
name = "microvenv" | ||
version = "2023.4" | ||
version = "2023.5" | ||
description = "A minimal re-implementation of Python's venv module plus utilities" | ||
keywords = ["virtual environments", "venv"] | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
maintainers = [{ name = "Brett Cannon", email = "[email protected]" }] | ||
authors = [{ name = "Brett Cannon", email = "[email protected]" }] | ||
requires-python = ">=3.7" | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters