From 8dede2af524f0d3a76de3f873f4abcf50dbc9d2b Mon Sep 17 00:00:00 2001 From: benadha Date: Mon, 14 Feb 2022 21:09:09 +0700 Subject: Fixed unrecognized --multiprocessing-fork error on Windows --- epy.py | 5 ++++- pyproject.toml | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/epy.py b/epy.py index 948b7c0..8cd6040 100755 --- a/epy.py +++ b/epy.py @@ -23,7 +23,7 @@ examples: """ -__version__ = "2022.2.5" +__version__ = "2022.2.14" __license__ = "GPL-3.0" __author__ = "Benawi Adha" __email__ = "benawiadha@gmail.com" @@ -3975,4 +3975,7 @@ def main(): if __name__ == "__main__": + # On Windows, calling this method is necessary + # On Linux/OSX, this method does nothing + multiprocessing.freeze_support() main() diff --git a/pyproject.toml b/pyproject.toml index d4a865c..c04f92d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "epy-reader" -version = "2022.2.5" +version = "2022.2.14" description = "CLI Ebook Reader" authors = ["Benawi Adha "] license = "GPL-3.0" diff --git a/setup.py b/setup.py index 42e991e..97160df 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r") as fh: setup( name="epy-reader", - version="2022.2.5", + version="2022.2.14", description="Terminal/CLI Ebook (epub, fb2, mobi, azw3) Reader", long_description=long_description, long_description_content_type="text/markdown", -- cgit