예제 #1
0
 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"
     )
예제 #2
0
 def create_flags(self):
     """
     Configurable environment creation arguments
     """
     return Argv.conditional_flag(
         self.session.config["agent.package_manager.system_site_packages"],
         "--system-site-packages",
     )