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.
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/PKG-INFO +1 -1
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/__init__.py +1 -1
- pypmxvmd-2.6.1/pypmxvmd/common/io/_fast_binary.cp38-win_amd64.pyd +0 -0
- pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_pmx.cp38-win_amd64.pyd +0 -0
- pypmxvmd-2.6.1/pypmxvmd/common/parsers/_fast_vmd.cp38-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/PKG-INFO +1 -1
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/SOURCES.txt +7 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pyproject.toml +8 -3
- pypmxvmd-2.6.1/setup.py +54 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/README.md +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.c +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.cp311-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/_fast_binary.pyx +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/binary_io.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/file_utils.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/io/text_io.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/base.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/pmx.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/vmd.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/models/vpd.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.c +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.cp311-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_pmx.pyx +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.c +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.cp311-win_amd64.pyd +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.pyi +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/_fast_vmd.pyx +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/pmx_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/pmx_parser_nuthouse.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vmd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vmd_parser_nuthouse.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/parsers/vpd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd/common/validators/__init__.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/dependency_links.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/entry_points.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/requires.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/pypmxvmd.egg-info/top_level.txt +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/setup.cfg +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_api_integration.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_cython_parsers.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_io_utils.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_parser_optimization.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_pmx_comprehensive.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_pmx_writer.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_quick_integration.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_text_processing.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_comparison.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_comprehensive.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_header.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vmd_parser.py +0 -0
- {pypmxvmd-2.6.0 → pypmxvmd-2.6.1}/tests/test_vpd_parser.py +0 -0
|
@@ -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.
|
|
39
|
+
__version__ = "2.6.1"
|
|
40
40
|
__author__ = "PythonImporter"
|
|
41
41
|
__description__ = "Python MikuMikuDance File Parser"
|
|
42
42
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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.
|
|
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 = ["**/*.
|
|
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"
|
pypmxvmd-2.6.1/setup.py
ADDED
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|