Skip to content

module dependency version requirements #44

Answered by huettenhain
0cyn asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, and first of all, thank you so much! This is incredibly forthcoming and very kind. The dependency to k2l is coded into the unit itself, and you can alter the code to add a version requirement. For example, this would require a k2l version at least 2.0:

    @Unit.Requires('k2l>=2.0', 'all')
    def _ktool():
        import ktool
        import ktool.macho
        import ktool.codesign
        return ktool

I hope this answers the question, please let me know if I completely missed the point 😅.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by 0cyn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants