Skip to content

Commit

Permalink
Fix import so that this project can be run as a Python module
Browse files Browse the repository at this point in the history
  • Loading branch information
HappiePlant committed Aug 24, 2024
1 parent 30b64ef commit 86320c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ dependencies = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project.scripts]
minecraft_seven = "minecraft_seven:main"
2 changes: 1 addition & 1 deletion src/minecraft_seven/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from zipfile import ZipFile
from xdialog import open_file
from builder import build_as_pixel_font_converter_batch
from minecraft_seven.builder import build_as_pixel_font_converter_batch
import json

MINECRAFT_VERSION = "1.21"
Expand Down

0 comments on commit 86320c3

Please sign in to comment.