def install_flags(self): """ Configurable package installation creation arguments """ return super(VirtualenvPip, self).install_flags() + Argv.conditional_flag( self.session.config["agent.package_manager.force_upgrade"], "--upgrade" )
def create_flags(self): """ Configurable environment creation arguments """ return Argv.conditional_flag( self.session.config["agent.package_manager.system_site_packages"], "--system-site-packages", )