File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v1.5.4 | 2023-05-02
4+
5+ - Removed the only usage of deprecated attribute ` deps_cpp_info ` of ` Conanfile ` from ` embedded_python_tools.py ` .
6+
37## v1.5.3 | 2023-04-25
48
59- Fixed a bug where the python version would be incorrectly cached between builds as the conan ` source ` method is only called once.
Original file line number Diff line number Diff line change 1212# noinspection PyUnresolvedReferences
1313class EmbeddedPython (ConanFile ):
1414 name = "embedded_python"
15- version = "1.5.3 " # of the Conan package, `options.version` is the Python version
15+ version = "1.5.4 " # of the Conan package, `options.version` is the Python version
1616 license = "PSFL"
1717 description = "Embedded distribution of Python"
1818 topics = "embedded" , "python"
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ def imports(self):
4848 os .remove (dst )
4949 except : # this seems to be the only way to find out this is not a junction
5050 shutil .rmtree (dst )
51-
52- src = pathlib . Path ( conanfile . deps_cpp_info [ "embedded_python" ]. rootpath ) / "embedded_python"
51+ root_folder = pathlib . Path ( __file__ ). resolve (). parent
52+ src = root_folder / "embedded_python"
5353 _symlink_compat (conanfile , src , dst )
5454
5555 bin = pathlib .Path (bin ).absolute ()
You can’t perform that action at this time.
0 commit comments