-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(python): pull readme, license info into python folder and central…
…ize version
- Loading branch information
1 parent
b3e9897
commit b7de176
Showing
6 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
# IDEs | ||
# IDE | ||
.idea/ | ||
.vs/ | ||
.vscode/ | ||
CMakeSettings.json | ||
|
||
# Project exclude paths | ||
|
||
# Build | ||
build/ | ||
dist/ | ||
cmake-build-*/ | ||
out/ | ||
|
||
# Generated | ||
|
||
# Docs | ||
docs/html/ | ||
|
||
|
||
# Test | ||
test/res/ | ||
test/Helpers.h | ||
|
||
|
||
# Python | ||
.mypy_cache/ | ||
__pycache__/ | ||
wheelhouse/ | ||
*.pyd | ||
*.pyi | ||
*.typed | ||
*.whl | ||
|
||
lang/python/pyproject.toml | ||
lang/python/src/sourcepp/__init__.py | ||
|
||
lang/python/LICENSE | ||
lang/python/README.md | ||
lang/python/THIRDPARTY_LEGAL_NOTICES.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
lang/python/src/sourcepp/__init__.py → lang/python/cfg/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from ._sourcepp_impl import __doc__, gamepp, sourcepp, steampp, vcryptpp, vtfpp | ||
|
||
__author__ = "craftablescience" | ||
__version__ = "2024.11.5dev1" # change pyproject.toml version when this is updated | ||
__version__ = "${SOURCEPP_PYTHON_VERSION}" | ||
__all__ = ['__author__', '__doc__', '__version__', 'gamepp', 'sourcepp', 'steampp', 'vcryptpp', 'vtfpp'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,11 @@ build-backend = "scikit_build_core.build" | |
|
||
[project] | ||
name = "sourcepp" | ||
version = "2024.11.5dev1" # change __init__.py when this is updated | ||
version = "${SOURCEPP_PYTHON_VERSION}" | ||
authors = [{ name = "craftablescience", email = "[email protected]" }] | ||
maintainers = [{ name = "craftablescience", email = "[email protected]" }] | ||
description = "Several modern C++20 libraries for sanely parsing Valve formats." | ||
readme = "../../README.md" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
|
@@ -33,8 +33,9 @@ minimum-version = "build-system.requires" | |
build-dir = "build/{wheel_tag}" | ||
build.targets = ["sourcepp_python_all"] | ||
sdist.reproducible = true | ||
sdist.exclude = ["cfg/*"] | ||
wheel.py-api = "cp312" | ||
wheel.license-files = ["../../LICENSE", "../../THIRDPARTY_LEGAL_NOTICES.txt"] | ||
wheel.license-files = ["LICENSE", "THIRDPARTY_LEGAL_NOTICES.txt"] | ||
build.verbose = true | ||
logging.level = "INFO" | ||
|
||
|