def python_dependencies(context: Context, common_path=None):
    """
    Updates python dependencies
    """
    context.pip_command('install', '-r', context.requirements_file)
    if common_path:
        context.pip_command('uninstall', '--yes', 'money-to-prisoners-common')
        context.pip_command('install', '--force-reinstall', '-e', common_path)
        context.shell('rm', '-rf', 'webpack.config.js')
def python_dependencies ( context : Context , common_path = None ) : context . pip_command ( 'install' , '-r' , context . requirements_file ) if common_path : context . pip_command ( 'uninstall' , '--yes' , 'money-to-prisoners-common' ) context . pip_command ( 'install' , '--force-reinstall' , '-e' , common_path ) context . shell ( 'rm' , '-rf' , 'webpack.config.js' )
Updates python dependencies