Merge release 2.7.5
This commit is contained in:
+1
-8
@@ -23,7 +23,7 @@ General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
""" # noqa
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
@@ -50,7 +50,6 @@ OS_WIN = sys.platform.startswith("win32")
|
||||
def printVersion(args: argparse.Namespace) -> None:
|
||||
"""Print the novelWriter version and exit."""
|
||||
print(extractVersion(beQuiet=True)[0], end=None)
|
||||
return
|
||||
|
||||
|
||||
def installPackages(args: argparse.Namespace) -> None:
|
||||
@@ -79,8 +78,6 @@ def installPackages(args: argparse.Namespace) -> None:
|
||||
print(str(exc))
|
||||
sys.exit(1)
|
||||
|
||||
return
|
||||
|
||||
|
||||
def cleanBuildDirs(args: argparse.Namespace) -> None:
|
||||
"""Recursively delete the 'build' and 'dist' folders."""
|
||||
@@ -111,8 +108,6 @@ def cleanBuildDirs(args: argparse.Namespace) -> None:
|
||||
|
||||
print("")
|
||||
|
||||
return
|
||||
|
||||
|
||||
def genMacOSPlist(args: argparse.Namespace) -> None:
|
||||
"""Set necessary values for .plist file for MacOS build."""
|
||||
@@ -134,8 +129,6 @@ def genMacOSPlist(args: argparse.Namespace) -> None:
|
||||
print(f"Writing Info.plist to {outDir}/Info.plist")
|
||||
writeFile(outDir / "Info.plist", plistXML)
|
||||
|
||||
return
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
"""Parse command line options and run the commands."""
|
||||
|
||||
Reference in New Issue
Block a user