{{if eq .PackageDescriptor.Package.Type "pypi"}}

{{ctx.Locale.Tr "packages.installation"}}

pip install --index-url  {{.PackageDescriptor.Package.Name}}
{{if or .PackageDescriptor.Metadata.Description .PackageDescriptor.Metadata.LongDescription .PackageDescriptor.Metadata.Summary}}

{{ctx.Locale.Tr "packages.about"}}

{{if .PackageDescriptor.Metadata.Summary}}{{.PackageDescriptor.Metadata.Summary}}{{end}}

{{if .PackageDescriptor.Metadata.LongDescription}} {{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.LongDescription}} {{else if .PackageDescriptor.Metadata.Description}} {{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.Description}} {{end}}
{{end}} {{if .PackageDescriptor.Metadata.RequiresPython}}

{{ctx.Locale.Tr "packages.requirements"}}

{{ctx.Locale.Tr "packages.pypi.requires"}}: {{.PackageDescriptor.Metadata.RequiresPython}}
{{end}} {{end}}