From 78395349b20c77cf1af4cd7a006153b69d77253e Mon Sep 17 00:00:00 2001
From: Xuwznln <18435084+Xuwznln@users.noreply.github.com>
Date: Wed, 1 Oct 2025 17:59:35 +0800
Subject: [PATCH] Modify pypi package name
---
README.md | 8 ++++----
docs/index.rst | 12 ++++++------
elevator_saga/__init__.py | 2 +-
pyproject.toml | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index bec28b6..e37a94f 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://badge.fury.io/py/elevatorpy)
-[](https://pypi.org/project/elevatorpy/)
+[](https://badge.fury.io/py/elevator-py)
+[](https://pypi.org/project/elevator-py/)
[](https://github.com/ZGCA-Forge/Elevator/actions)
[](https://zgca-forge.github.io/Elevator/)
@@ -27,13 +27,13 @@ Elevator Saga is a Python implementation of an elevator [simulation game](https:
### Basic Installation
```bash
-pip install elevatorpy
+pip install elevator-py
```
### With Development Dependencies
```bash
-pip install elevatorpy[dev]
+pip install elevator-py[dev]
```
### From Source
diff --git a/docs/index.rst b/docs/index.rst
index 0105f92..b304119 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,12 +1,12 @@
Welcome to Elevator Saga's Documentation!
==========================================
-.. image:: https://badge.fury.io/py/elevatorpy.svg
- :target: https://badge.fury.io/py/elevatorpy
+.. image:: https://badge.fury.io/py/elevator-py.svg
+ :target: https://badge.fury.io/py/elevator-py
:alt: PyPI version
-.. image:: https://img.shields.io/pypi/pyversions/elevatorpy.svg
- :target: https://pypi.org/project/elevatorpy/
+.. image:: https://img.shields.io/pypi/pyversions/elevator-py.svg
+ :target: https://pypi.org/project/elevator-py/
:alt: Python versions
.. image:: https://github.com/ZGCA-Forge/Elevator/actions/workflows/ci.yml/badge.svg
@@ -40,14 +40,14 @@ Basic Installation
.. code-block:: bash
- pip install elevatorpy
+ pip install elevator-py
With Development Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: bash
- pip install elevatorpy[dev]
+ pip install elevator-py[dev]
From Source
~~~~~~~~~~~
diff --git a/elevator_saga/__init__.py b/elevator_saga/__init__.py
index 265c437..d20e6e3 100644
--- a/elevator_saga/__init__.py
+++ b/elevator_saga/__init__.py
@@ -6,5 +6,5 @@ A Python implementation of the Elevator Saga game with event-driven architecture
realistic elevator dispatch algorithm development and testing.
"""
-__version__ = "0.0.2"
+__version__ = "0.0.3"
__author__ = "ZGCA Team"
diff --git a/pyproject.toml b/pyproject.toml
index 45ba865..23f4377 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
-name = "elevatorpy"
+name = "elevator-py"
dynamic = ["version"]
description = "Python implementation of Elevator Saga game with event system"
readme = "README.md"