File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
7
## v1.5.3 | 2023-04-25
4
8
5
9
- 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 12
12
# noinspection PyUnresolvedReferences
13
13
class EmbeddedPython (ConanFile ):
14
14
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
16
16
license = "PSFL"
17
17
description = "Embedded distribution of Python"
18
18
topics = "embedded" , "python"
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ def imports(self):
48
48
os .remove (dst )
49
49
except : # this seems to be the only way to find out this is not a junction
50
50
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"
53
53
_symlink_compat (conanfile , src , dst )
54
54
55
55
bin = pathlib .Path (bin ).absolute ()
You can’t perform that action at this time.
0 commit comments