File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,12 +239,12 @@ target_link_libraries(cached-properties PRIVATE common borrowed)
239239set (INTERP_SOURCES ${PROJECT_SOURCE_DIR } /Interpreter/iter_helpers.c)
240240
241241if (${PY_VERSION} EQUAL 3.12)
242- set (SOURCE_CINDERX_OPCODE_TARGETS_H ${PROJECT_SOURCE_DIR } /Interpreter/cinderx_opcode_targets_312 .h)
243- set (SOURCE_CINDER_OPCODE_H ${PROJECT_SOURCE_DIR } /Interpreter/cinder_opcode_312 .h)
244- set (SOURCE_OPCODE_H ${PROJECT_SOURCE_DIR } /Interpreter/opcode_312 .h)
242+ set (SOURCE_CINDERX_OPCODE_TARGETS_H ${PROJECT_SOURCE_DIR } /Interpreter/3.12/cinderx_opcode_targets .h)
243+ set (SOURCE_CINDER_OPCODE_H ${PROJECT_SOURCE_DIR } /Interpreter/3.12/cinder_opcode .h)
244+ set (SOURCE_OPCODE_H ${PROJECT_SOURCE_DIR } /Interpreter/3.12/opcode .h)
245245
246246 if (${META_PYTHON} )
247- set (INTERP_SOURCES ${INTERP_SOURCES} ${PROJECT_SOURCE_DIR } /Interpreter/interpreter- 3.12.c)
247+ set (INTERP_SOURCES ${INTERP_SOURCES} ${PROJECT_SOURCE_DIR } /Interpreter/3.12/interpreter .c)
248248 endif ()
249249endif ()
250250
Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ class BuildPy(build_py):
4040 def run (self ) -> None :
4141 super ().run ()
4242
43- # Copy opcodes/opcode_312 .py to cinderx/opcode.py.
43+ # Copy opcodes/3.12/opcode .py to cinderx/opcode.py.
4444 out_path = self .get_module_outfile (self .build_lib , ["cinderx" ], "opcode" )
45- self .copy_file ("PythonLib/opcodes/opcode_312.py" , out_path , preserve_mode = False )
45+ self .copy_file (
46+ "PythonLib/opcodes/3.12/opcode.py" , out_path , preserve_mode = False
47+ )
4648
4749
4850class CMakeExtension (Extension ):
You can’t perform that action at this time.
0 commit comments