pypmxvmd 2.6.0__tar.gz → 2.6.1__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.
Files changed (57) hide show
  1. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/PKG-INFO +1 -1
  2. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/__init__.py +1 -1
  3. pypmxvmd-2.6.1/pypmxvmd/common/io/_fast_binary.cp38-win_amd64.pyd +0 -0
  4. pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_pmx.cp38-win_amd64.pyd +0 -0
  5. pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_vmd.cp38-win_amd64.pyd +0 -0
  6. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/PKG-INFO +1 -1
  7. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/SOURCES.txt +7 -0
  8. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pyproject.toml +8 -3
  9. pypmxvmd-2.6.1/setup.py +54 -0
  10. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/README.md +0 -0
  11. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/__init__.py +0 -0
  12. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/__init__.py +0 -0
  13. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.c +0 -0
  14. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
  15. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.pyi +0 -0
  16. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.pyx +0 -0
  17. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/binary_io.py +0 -0
  18. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/file_utils.py +0 -0
  19. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/text_io.py +0 -0
  20. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/__init__.py +0 -0
  21. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/base.py +0 -0
  22. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/pmx.py +0 -0
  23. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/vmd.py +0 -0
  24. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/vpd.py +0 -0
  25. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/__init__.py +0 -0
  26. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.c +0 -0
  27. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
  28. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.pyi +0 -0
  29. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.pyx +0 -0
  30. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.c +0 -0
  31. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
  32. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.pyi +0 -0
  33. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.pyx +0 -0
  34. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/pmx_parser.py +0 -0
  35. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/pmx_parser_nuthouse.py +0 -0
  36. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vmd_parser.py +0 -0
  37. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vmd_parser_nuthouse.py +0 -0
  38. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vpd_parser.py +0 -0
  39. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/validators/__init__.py +0 -0
  40. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/dependency_links.txt +0 -0
  41. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/entry_points.txt +0 -0
  42. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/requires.txt +0 -0
  43. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/top_level.txt +0 -0
  44. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/setup.cfg +0 -0
  45. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_api_integration.py +0 -0
  46. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_cython_parsers.py +0 -0
  47. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_io_utils.py +0 -0
  48. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_parser_optimization.py +0 -0
  49. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_pmx_comprehensive.py +0 -0
  50. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_pmx_writer.py +0 -0
  51. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_quick_integration.py +0 -0
  52. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_text_processing.py +0 -0
  53. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_comparison.py +0 -0
  54. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_comprehensive.py +0 -0
  55. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_header.py +0 -0
  56. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_parser.py +0 -0
  57. {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vpd_parser.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypmxvmd
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: Wrapper for reading and modifying VMD and PMX files
5
5
  Author-email: PythonImporter <271374667@qq.com>
6
6
  Project-URL: Homepage, https://github.com/pypmxvmd/pypmxvmd
@@ -36,7 +36,7 @@ from .common.models.vmd import VmdMotion
36
36
  from .common.models.pmx import PmxModel
37
37
  from .common.models.vpd import VpdPose
38
38
 
39
- __version__ = "2.6.0"
39
+ __version__ = "2.6.1"
40
40
  __author__ = "PythonImporter"
41
41
  __description__ = "Python MikuMikuDance File Parser"
42
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypmxvmd
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: Wrapper for reading and modifying VMD and PMX files
5
5
  Author-email: PythonImporter <271374667@qq.com>
6
6
  Project-URL: Homepage, https://github.com/pypmxvmd/pypmxvmd
@@ -1,5 +1,6 @@
1
1
  README.md
2
2
  pyproject.toml
3
+ setup.py
3
4
  pypmxvmd/__init__.py
4
5
  pypmxvmd.egg-info/PKG-INFO
5
6
  pypmxvmd.egg-info/SOURCES.txt
@@ -7,10 +8,14 @@ pypmxvmd.egg-info/dependency_links.txt
7
8
  pypmxvmd.egg-info/entry_points.txt
8
9
  pypmxvmd.egg-info/requires.txt
9
10
  pypmxvmd.egg-info/top_level.txt
11
+ pypmxvmd/common/io/_fast_binary.c
12
+ pypmxvmd/common/parsers/_fast_pmx.c
13
+ pypmxvmd/common/parsers/_fast_vmd.c
10
14
  pypmxvmd/common/__init__.py
11
15
  pypmxvmd/common/io/__init__.py
12
16
  pypmxvmd/common/io/_fast_binary.c
13
17
  pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd
18
+ pypmxvmd/common/io/_fast_binary.cp38-win_amd64.pyd
14
19
  pypmxvmd/common/io/_fast_binary.pyi
15
20
  pypmxvmd/common/io/_fast_binary.pyx
16
21
  pypmxvmd/common/io/binary_io.py
@@ -24,10 +29,12 @@ pypmxvmd/common/models/vpd.py
24
29
  pypmxvmd/common/parsers/__init__.py
25
30
  pypmxvmd/common/parsers/_fast_pmx.c
26
31
  pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd
32
+ pypmxvmd/common/parsers/_fast_pmx.cp38-win_amd64.pyd
27
33
  pypmxvmd/common/parsers/_fast_pmx.pyi
28
34
  pypmxvmd/common/parsers/_fast_pmx.pyx
29
35
  pypmxvmd/common/parsers/_fast_vmd.c
30
36
  pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd
37
+ pypmxvmd/common/parsers/_fast_vmd.cp38-win_amd64.pyd
31
38
  pypmxvmd/common/parsers/_fast_vmd.pyi
32
39
  pypmxvmd/common/parsers/_fast_vmd.pyx
33
40
  pypmxvmd/common/parsers/pmx_parser.py
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pypmxvmd"
3
- version = "2.6.0"
3
+ version = "2.6.1"
4
4
  description = "Wrapper for reading and modifying VMD and PMX files"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.8"
@@ -35,7 +35,7 @@ Repository = "https://github.com/pypmxvmd/pypmxvmd"
35
35
  pypmxvmd = "pypmxvmd.presentation.cli.main:main"
36
36
 
37
37
  [build-system]
38
- requires = ["setuptools>=61.0", "wheel"]
38
+ requires = ["setuptools>=61.0", "wheel", "cython>=3.2.4"]
39
39
  build-backend = "setuptools.build_meta"
40
40
 
41
41
  [tool.setuptools.packages.find]
@@ -46,7 +46,7 @@ include = ["pypmxvmd*"]
46
46
  include-package-data = true
47
47
 
48
48
  [tool.setuptools.package-data]
49
- pypmxvmd = ["**/*.pyd", "**/*.so", "**/*.dylib", "**/*.c", "**/*.pyx"]
49
+ pypmxvmd = ["**/*.c", "**/*.pyx", "**/*.pyi"]
50
50
 
51
51
  [tool.black]
52
52
  line-length = 88
@@ -99,7 +99,12 @@ python_files = [
99
99
 
100
100
  [dependency-groups]
101
101
  dev = [
102
+ "cibuildwheel>=2.23.3",
102
103
  "cython>=3.2.4",
103
104
  "pytest>=8.3.5",
104
105
  "setuptools>=75.3.2",
105
106
  ]
107
+
108
+ [tool.cibuildwheel]
109
+ build = "cp38-win_amd64 cp39-win_amd64 cp310-win_amd64 cp311-win_amd64 cp312-win_amd64 cp313-win_amd64"
110
+ skip = "*-win32"
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env python3
2
+ import os
3
+ import sys
4
+ from pathlib import Path
5
+
6
+ from setuptools import Extension, setup
7
+
8
+
9
+ def _get_extensions():
10
+ define_macros = []
11
+ if sys.platform == "win32":
12
+ define_macros = [("_CRT_SECURE_NO_WARNINGS", None)]
13
+
14
+ ext_sources = {
15
+ "pypmxvmd.common.io._fast_binary": "pypmxvmd/common/io/_fast_binary.pyx",
16
+ "pypmxvmd.common.parsers._fast_vmd": "pypmxvmd/common/parsers/_fast_vmd.pyx",
17
+ "pypmxvmd.common.parsers._fast_pmx": "pypmxvmd/common/parsers/_fast_pmx.pyx",
18
+ }
19
+
20
+ ext_modules = [
21
+ Extension(
22
+ name,
23
+ sources=[source],
24
+ language="c",
25
+ define_macros=define_macros,
26
+ )
27
+ for name, source in ext_sources.items()
28
+ ]
29
+
30
+ try:
31
+ from Cython.Build import cythonize
32
+
33
+ compiler_directives = {
34
+ "language_level": 3,
35
+ "boundscheck": False,
36
+ "wraparound": False,
37
+ "cdivision": True,
38
+ "initializedcheck": False,
39
+ "nonecheck": False,
40
+ }
41
+
42
+ return cythonize(
43
+ ext_modules,
44
+ compiler_directives=compiler_directives,
45
+ annotate=False,
46
+ )
47
+ except Exception:
48
+ # Fall back to the generated C sources when Cython is unavailable.
49
+ for ext in ext_modules:
50
+ ext.sources = [str(Path(ext.sources[0]).with_suffix(".c"))]
51
+ return ext_modules
52
+
53
+
54
+ setup(ext_modules=_get_extensions())
File without changes
File without changes