Skip to content

Commit 1c2e35b

Browse files
committed
refactor: rename project
1 parent 47ae045 commit 1c2e35b

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "endstone-python-example-plugin"
6+
name = "endstone-example-plugin"
77
version = "0.2.0"
88
dependencies = []
99
authors = [
@@ -15,7 +15,7 @@ license = { file = "LICENSE" }
1515
keywords = ["endstone", "plugin"]
1616

1717
[project.urls]
18-
Homepage = "https://github.com/EndstoneMC/python-plugin-template"
18+
Homepage = "https://github.com/EndstoneMC/python-example-plugin"
1919

2020
[project.entry-points."endstone"]
21-
python-example-plugin = "endstone_python_example_plugin:ExamplePlugin"
21+
example-plugin = "endstone_example_plugin:ExamplePlugin"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from endstone_example_plugin.example_plugin import ExamplePlugin
2+
3+
__all__ = ["ExamplePlugin"]

src/endstone_python_example_plugin/example_plugin.py renamed to src/endstone_example_plugin/example_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from endstone.command import Command, CommandSender
22
from endstone.plugin import Plugin
33

4-
from endstone_python_example_plugin.python_command import PythonCommandExecutor
4+
from endstone_example_plugin.python_command import PythonCommandExecutor
55

66

77
class ExamplePlugin(Plugin):
File renamed without changes.

src/endstone_python_example_plugin/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)