sourcepp 2024.11.10.dev1__tar.gz → 2024.11.11.dev1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ endif()
30
30
  set(CMAKE_POSITION_INDEPENDENT_CODE ON)
31
31
 
32
32
  set(SOURCEPP_BUILD_PYTHON_WRAPPERS ON CACHE INTERNAL "" FORCE)
33
- set(SOURCEPP_PYTHON_VERSION "2024.11.10dev1")
33
+ set(SOURCEPP_PYTHON_VERSION "2024.11.11dev1")
34
34
 
35
35
  # As weird as this looks, this is necessary for sdist wheel
36
36
  set(SOURCEPP_PYTHON_IS_SUBDIR OFF)
@@ -41,6 +41,6 @@ else()
41
41
  FetchContent_Declare(
42
42
  sourcepp
43
43
  GIT_REPOSITORY "https://github.com/craftablescience/sourcepp.git"
44
- GIT_TAG "5eac5db16d1e493135880eaf98922ae25a703a63")
44
+ GIT_TAG "0ba2b7a0a3af34fc9a5c98aea4d493df2f538be3")
45
45
  FetchContent_MakeAvailable(sourcepp)
46
46
  endif()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sourcepp
3
- Version: 2024.11.10.dev1
3
+ Version: 2024.11.11.dev1
4
4
  Summary: Several modern C++20 libraries for sanely parsing Valve formats.
5
5
  Home-page: https://github.com/craftablescience/sourcepp
6
6
  Author-Email: craftablescience <lauralewisdev@gmail.com>
@@ -8,6 +8,7 @@ Maintainer-Email: craftablescience <lauralewisdev@gmail.com>
8
8
  Classifier: License :: OSI Approved :: MIT License
9
9
  Classifier: Intended Audience :: Developers
10
10
  Classifier: Programming Language :: Python :: 3 :: Only
11
+ Classifier: Programming Language :: Python :: 3.8
11
12
  Classifier: Programming Language :: Python :: 3.9
12
13
  Classifier: Programming Language :: Python :: 3.10
13
14
  Classifier: Programming Language :: Python :: 3.11
@@ -17,7 +18,7 @@ Project-URL: Homepage, https://github.com/craftablescience/sourcepp
17
18
  Project-URL: Repository, https://github.com/craftablescience/sourcepp
18
19
  Project-URL: Issue tracker, https://github.com/craftablescience/sourcepp/issues
19
20
  Project-URL: Funding, https://ko-fi.com/craftablescience
20
- Requires-Python: >=3.9
21
+ Requires-Python: >=3.8
21
22
  Description-Content-Type: text/markdown
22
23
 
23
24
  <div>
@@ -10,11 +10,12 @@ authors = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
10
10
  maintainers = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
11
11
  description = "Several modern C++20 libraries for sanely parsing Valve formats."
12
12
  readme = "README.md"
13
- requires-python = ">=3.9"
13
+ requires-python = ">=3.8"
14
14
  classifiers = [
15
15
  "License :: OSI Approved :: MIT License",
16
16
  "Intended Audience :: Developers",
17
17
  "Programming Language :: Python :: 3 :: Only",
18
+ "Programming Language :: Python :: 3.8",
18
19
  "Programming Language :: Python :: 3.9",
19
20
  "Programming Language :: Python :: 3.10",
20
21
  "Programming Language :: Python :: 3.11",
@@ -5,16 +5,17 @@ build-backend = "scikit_build_core.build"
5
5
 
6
6
  [project]
7
7
  name = "sourcepp"
8
- version = "2024.11.10dev1"
8
+ version = "2024.11.11dev1"
9
9
  authors = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
10
10
  maintainers = [{ name = "craftablescience", email = "lauralewisdev@gmail.com" }]
11
11
  description = "Several modern C++20 libraries for sanely parsing Valve formats."
12
12
  readme = "README.md"
13
- requires-python = ">=3.9"
13
+ requires-python = ">=3.8"
14
14
  classifiers = [
15
15
  "License :: OSI Approved :: MIT License",
16
16
  "Intended Audience :: Developers",
17
17
  "Programming Language :: Python :: 3 :: Only",
18
+ "Programming Language :: Python :: 3.8",
18
19
  "Programming Language :: Python :: 3.9",
19
20
  "Programming Language :: Python :: 3.10",
20
21
  "Programming Language :: Python :: 3.11",
@@ -1,5 +1,5 @@
1
- from ._sourcepp_impl import __doc__, gamepp, sourcepp, steampp, vcryptpp, vtfpp
1
+ from ._sourcepp_impl import __doc__, gamepp, sourcepp, steampp, toolpp, vcryptpp, vtfpp
2
2
 
3
3
  __author__ = "craftablescience"
4
- __version__ = "2024.11.10dev1"
5
- __all__ = ['__author__', '__doc__', '__version__', 'gamepp', 'sourcepp', 'steampp', 'vcryptpp', 'vtfpp']
4
+ __version__ = "2024.11.11dev1"
5
+ __all__ = ['__author__', '__doc__', '__version__', 'gamepp', 'sourcepp', 'steampp', 'toolpp', 'vcryptpp', 'vtfpp']
@@ -108,7 +108,6 @@ void register_python(py::module_& m) {
108
108
  using namespace ImageConversion;
109
109
  auto ImageConversion = vtfpp.def_submodule("ImageConversion");
110
110
 
111
- // todo(python): still need to bind the following:
112
111
  ImageConversion.def("convert_image_data_to_format", [](const py::bytes& imageData, ImageFormat oldFormat, ImageFormat newFormat, uint16_t width, uint16_t height) {
113
112
  const auto d = convertImageDataToFormat({reinterpret_cast<const std::byte*>(imageData.data()), imageData.size()}, oldFormat, newFormat, width, height);
114
113
  return py::bytes{d.data(), d.size()};
@@ -183,6 +182,7 @@ void register_python(py::module_& m) {
183
182
  }, py::arg("image_data"), py::arg("format"), py::arg("width"), py::arg("new_width"), py::arg("width_resize"), py::arg("height"), py::arg("new_height"), py::arg("height_resize"), py::arg("srgb"), py::arg("filter"), py::arg("edge") = ResizeEdge::CLAMP);
184
183
 
185
184
  // Skip extractChannelFromImageData, difficult to bind
185
+ // Skip applyChannelToImageData, difficult to bind
186
186
  }
187
187
 
188
188
  py::class_<PPL::Image>(vtfpp, "PPLImage")