Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/93#discussion_r109371065
  
    --- Diff: setup.py ---
    @@ -63,20 +64,43 @@
     console_scripts = ['aria = aria.cli.cli:main']
     
     
    -class InstallCommand(install):
    -    user_options = install.user_options + [
    +def _generate_user_options(command):
    +    return command.user_options + [
             ('skip-ctx', None, 'Install with or without the ctx (Defaults to 
False)')
         ]
    -    boolean_options = install.boolean_options + ['skip-ctx']
     
    -    def initialize_options(self):
    -        install.initialize_options(self)
    -        self.skip_ctx = False
     
    -    def run(self):
    -        if self.skip_ctx is False:
    -            console_scripts.append('ctx = 
aria.orchestrator.execution_plugin.ctx_proxy.client:main')
    -        install.run(self)
    +def _generate_boolean_options(command):
    +    return command.boolean_options + ['skip-ctx']
    +
    +
    +def _initialize_options(custom_cmd):
    +    custom_cmd.command.initialize_options(custom_cmd)
    +    custom_cmd.skip_ctx = False
    +
    +
    +def _run(custom_cmd):
    +    if custom_cmd.skip_ctx is False:
    +        console_scripts.append('ctx = 
aria.orchestrator.execution_plugin.ctx_proxy.client:main')
    +    custom_cmd.command.run(custom_cmd)
    +
    +
    +class InstallCommand(install):
    --- End diff --
    
    Thats where is was coming from at first. But the problem is with the class 
attributes...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to