From 703fe1e60a1939d9613a8efbdaf7c93528438337 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Fri, 24 Mar 2023 19:06:00 -0400 Subject: [PATCH] first commit --- README.md | 4 ++-- generate.py | 37 ------------------------------------- setup.cfg | 14 +++++++------- 3 files changed, 9 insertions(+), 46 deletions(-) delete mode 100644 generate.py diff --git a/README.md b/README.md index a3d30b0..f73948c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# {name} +# PythonSDK Mod Manager -{description} +Manage the installed mods for compatible PythonSDK games diff --git a/generate.py b/generate.py deleted file mode 100644 index dbccb39..0000000 --- a/generate.py +++ /dev/null @@ -1,37 +0,0 @@ -import os -import sys - -from pathlib import Path - - -readme = Path('README.md') -setup = Path('setup.cfg') - - -def main(args): - try: - name = args[1] - - except IndexError: - print('Missing name') - return 1 - - try: - description = ' '.join(args[2:]) - - except IndexError: - print('Missing description') - return 1 - - for file in {readme, setup}: - file.write_text(file.read_text().format( - name = name, - description = description or 'na' - )) - - Path('generate.py').unlink() - - return 0 - - -sys.exit(main(sys.argv)) diff --git a/setup.cfg b/setup.cfg index e7d6dbd..bf26383 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] -name = {name} +name = PythonSDK Mod Manager version = 0.0.1 author = Izalia Mae author_email = izalia@barkshark.xyz -url = https://git.barkshark.xyz/barkshark/{name} -description = {description} +url = https://git.barkshark.xyz/barkshark/PythonSDK Mod Manager +description = Manage the installed mods for compatible PythonSDK games license = CNPL 7+ license_file = LICENSE.md platform = any @@ -20,15 +20,15 @@ classifiers = Programming Language :: Python :: 3.10 Topic :: Software Development :: Libraries :: Python Modules project_urls = - Bug Tracker = https://git.barkshark.xyz/barkshark/{name}/issues - Documentation = https://git.barkshark.xyz/barkshark/{name}/wiki - Source Code = https://git.barkshark.xyz/barkshark/{name} + Bug Tracker = https://git.barkshark.xyz/barkshark/PythonSDK Mod Manager/issues + Documentation = https://git.barkshark.xyz/barkshark/PythonSDK Mod Manager/wiki + Source Code = https://git.barkshark.xyz/barkshark/PythonSDK Mod Manager [options] include_package_data = true python_requires = >= 3.7, <3.11 packages = - {name} + PythonSDK Mod Manager setup_requires = setuptools >= 38.3.0