Conan 2.3 Documentation
confusing at times. A pre-release happens earlier in time than the release it is qualifying. So 1.1-alpha.1 is older than 1.1, not newer. Range expressions Range expressions can have comparison operators 0-pre.1, 1.0.0, 1.0.1, 1.1, 1.2.3 0.2, 2.0-pre.1, 2.0, 2.1, 3.0 [<3.2.1] 0.1, 1.2, 1.8-beta.1, 2.0- alpha.2, 2.4, 3.1.1 3.2.1-pre.1, 3.2.1, 3.2.2, 3.3 [>2.0] 2.1-pre.1, 2.1, 2.2, 3.1, 14.2 1.1, 1.2, 2 main digits. v = Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. v = Version("1.2.3.4-alpha.3+b1") assert str(v.major) == "1"0 码力 | 748 页 | 4.65 MB | 1 年前3Conan 2.5 Documentation
confusing at times. A pre-release happens earlier in time than the release it is qualifying. So 1.1-alpha.1 is older than 1.1, not newer. Range expressions Range expressions can have comparison operators 0-pre.1, 1.0.0, 1.0.1, 1.1, 1.2.3 0.2, 2.0-pre.1, 2.0, 2.1, 3.0 [<3.2.1] 0.1, 1.2, 1.8-beta.1, 2.0- alpha.2, 2.4, 3.1.1 3.2.1-pre.1, 3.2.1, 3.2.2, 3.3 [>2.0] 2.1-pre.1, 2.1, 2.2, 3.1, 14.2 1.1, 1.2, 2 main digits. v = Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. v = Version("1.2.3.4-alpha.3+b1") assert str(v.major) == "1"0 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.4 Documentation
confusing at times. A pre-release happens earlier in time than the release it is qualifying. So 1.1-alpha.1 is older than 1.1, not newer. Range expressions Range expressions can have comparison operators 0-pre.1, 1.0.0, 1.0.1, 1.1, 1.2.3 0.2, 2.0-pre.1, 2.0, 2.1, 3.0 [<3.2.1] 0.1, 1.2, 1.8-beta.1, 2.0- alpha.2, 2.4, 3.1.1 3.2.1-pre.1, 3.2.1, 3.2.2, 3.3 [>2.0] 2.1-pre.1, 2.1, 2.2, 3.1, 14.2 1.1, 1.2, 2 main digits. v = Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. v = Version("1.2.3.4-alpha.3+b1") assert str(v.major) == "1"0 码力 | 769 页 | 4.69 MB | 1 年前3Conan 1.56 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.50 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment 0 main Get all the main digits. @property def main(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] 612 Chapter 18. Reference Conan0 码力 | 923 页 | 7.55 MB | 1 年前3Conan 1.51 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 933 页 | 7.58 MB | 1 年前3Conan 1.52 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 943 页 | 7.62 MB | 1 年前3Conan 1.53 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.54 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.55 Documentation
CONAN MIGRATION GUIDE TO 2.0 Conan 2.0-beta is already released, you can install the latest Conan Alpha version from PyPI doing: $ pip install conan --pre If you want to migrate to 2.0, there are several to try some new zlib alpha features: we could replace the zlib requirement with one from another user or channel. [requires] poco/1.9.4 openssl/1.0.2u zlib/1.2.11@otheruser/alpha Note: You can use environment Version("1.2.3.4-alpha.3+b1") assert [str(i) for i in v.main] == ['1', '2', '3', '4', '5'] major Get the major digit. @property def major(self): For instance: v = Version("1.2.3.4-alpha.3+b1") assert0 码力 | 963 页 | 7.67 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8