Skip to content

Commit 90845c4

Browse files
committed
publish: v1.1.1 - wheel should contain the .pyi file
1 parent 07f6e54 commit 90845c4

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "peace-performance-python"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
authors = ["Pure-Peace <940857703@qq.com>"]
55
edition = "2018"
66

peace_performance_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
__author__ = 'Pure-Peace'
88
__license__ = 'MIT'
99
__copyright__ = 'Copyright 2021 Pure-Peace'
10-
__version__ = '1.1.0'
10+
__version__ = '1.1.1'
1111

1212
from .objects import *
1313
from . import functions

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requires = [
1010

1111
[project]
1212
name = "peace-performance-python"
13-
version = "1.1.0"
13+
version = "1.1.1"
1414
description = "Rust binding for python. To calculate star ratings and performance points for all osu! gamemodes, and quickly parse Beatmap into python objects."
1515
keywords = "rust peace osu pp beatmap parse rosu-pp peace-performance"
1616
author = "PurePeace"
@@ -42,6 +42,8 @@ packages = [
4242
"peace_performance_python.objects",
4343
"peace_performance_python.functions",
4444
]
45+
package_data = { "peace_performance_python" = ["*.pyi", "**/*.pyi"] }
46+
4547

4648
[tool.pytest.ini_options]
4749
markers = ["benchmark", "std_pp", "taiko_pp", "fruits_pp", "mania_pp"]

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name="peace-performance-python",
22-
version="1.1.0",
22+
version="1.1.1",
2323
description="Rust binding for python. To calculate star ratings and performance points for all osu! gamemodes, and quickly parse Beatmap into python objects.",
2424
long_description=open("README.md", encoding="utf-8").read(),
2525
long_description_content_type="text/markdown",
@@ -52,6 +52,7 @@
5252
],
5353
packages=["peace_performance_python", "peace_performance_python.objects",
5454
"peace_performance_python.functions"],
55+
package_data={"peace_performance_python": ["*.pyi", "**/*.pyi"]},
5556
rust_extensions=[
5657
RustExtension(
5758
"peace_performance_python._peace_performance",

0 commit comments

Comments
 (0)