Skip to content

Commit

Permalink
TT-Damage-Calculator as a library (#20)
Browse files Browse the repository at this point in the history
Adding feature: TT-Damage-Calculator as a library
ive wanted to do this for a little while, it could be useful for things
like discord bots or other projects!
  • Loading branch information
Vhou-Atroph authored Aug 7, 2024
2 parents e3ec1d9 + 3350b73 commit ed00ece
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ jobs:
pyinstaller "src/tt_damage_calculator/Toontown Damage Calculator.py" --onefile --windowed
cp -R ./src/tt_damage_calculator/assets ./dist/assets
cp -R ./LICENSE ./dist
cp -R ./src/tt_damage_calculator/assets "./dist/Toontown Damage Calculator.app/Contents/MacOS/assets"
cp -R ./LICENSE "./dist/Toontown Damage Calculator.app/Contents/MacOS"
- name: Upload executable
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ strip = true

[project]
name = "tt_damage_calculator"
version = "4.3.1"
version = "4.3.2"
authors = [
{ name="Vhou-Atroph", email="[email protected]" },
]
Expand Down
5 changes: 4 additions & 1 deletion src/tt_damage_calculator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
Run the Toontown Damage Calculator with python -m tt_damage_calculator instead!
"""

__version__ = "4.3.0"
__version__ = "4.3.2"

# Imports for library functionality
from .tt_damage_calculator import Gag, cog_hp, gag_calculator, full_calc, lvl_ind
# Imports for app functionality
from .widgets import App

def main():
Expand Down
2 changes: 1 addition & 1 deletion src/tt_damage_calculator/assets/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1
4.3.2

0 comments on commit ed00ece

Please sign in to comment.