first commit

This commit is contained in:
Izalia Mae 2023-03-24 19:06:00 -04:00
parent 909352209a
commit 703fe1e60a
3 changed files with 9 additions and 46 deletions

View file

@ -1,3 +1,3 @@
# {name}
# PythonSDK Mod Manager
{description}
Manage the installed mods for compatible PythonSDK games

View file

@ -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))

View file

@ -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