1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 15:02:59 +00:00

first try at setup.py

This commit is contained in:
Jörn-Michael Miehe 2021-09-07 15:02:48 +02:00
parent 39d93cde7d
commit 94d6559b74
5 changed files with 20 additions and 6 deletions

View file

@ -11,7 +11,7 @@
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/fftcgtool.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/fftcgtool/scripts/fftcgtool.py" />
<option name="PARAMETERS" value="-v ffdecks 6551765862318080" /> <option name="PARAMETERS" value="-v ffdecks 6551765862318080" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />

View file

@ -11,7 +11,7 @@
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/fftcgtool.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/fftcgtool/scripts/fftcgtool.py" />
<option name="PARAMETERS" value="-v opuses promo" /> <option name="PARAMETERS" value="-v opuses promo" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />

View file

View file

@ -202,7 +202,3 @@ def finalize(decks: list[fftcgtool.TTSDeck], **kwargs):
# bye # bye
print("Done. Put the generated JSON files in your 'Saved Objects' Folder.") print("Done. Put the generated JSON files in your 'Saved Objects' Folder.")
print("Thanks for using fftcgtool!") print("Thanks for using fftcgtool!")
if __name__ == "__main__":
main()

18
setup.py Normal file
View file

@ -0,0 +1,18 @@
from setuptools import setup
setup(
name="fftcgtool",
version="0.2",
author="LDericher",
author_email="ldericher@gmx.de",
setup_requires="setuptools-pipfile",
use_pipfile=True,
entry_points={
"console_scripts": [
"fftcgtool = fftcgtool.scripts.fftcgtool:main"
],
},
license="LICENSE",
description="Card import tool for 'Final Fantasy TCG Complete' mod for the 'Tabletop Simulator' game",
long_description=open("README.md").read(),
)