Created
February 14, 2020 20:26
-
-
Save dchuvardynskyi/fe760db4bbebf71bf8565cd9c61773cb to your computer and use it in GitHub Desktop.
Application class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Application: | |
| def __init__(self, name, requirements, constraints=None, path='', executable_links=None, executables_dir=()): | |
| self.name = name | |
| self.requirements = requirements | |
| self.constraints = {} if constraints is None else constraints | |
| self.path = path | |
| self.executable_links = [] if executable_links is None else executable_links | |
| self.executables_dir = executables_dir | |
| self.additional_items = [] | |
| def __repr__(self): | |
| return f'Application({self.name!r},{self.requirements!r},{self.constraints!r},{self.path!r},{self.executable_links!r},{self.executables_dir!r},{self.additional_items!r})' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment