python

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Package python provides all needed logic for installation of python

Index

Constants

This section is empty.

Variables

View Source
var (

	// OSXDependencies is a list of OSX system dependencies
	OSXDependencies = []string{
		"openssl", "readline",
	}

	// XCodeDependencies is a list of XCode dependencies
	XCodeDependencies = []string{
		"xcrun", "make", "gcc",
	}
)
View Source
var (

	// LinuxDependencies is a list of all linux system dependencies
	LinuxDependencies = []string{
		"make", "build-essential", "libssl-dev",
		"zlib1g-dev", "libbz2-dev", "libreadline-dev",
		"libsqlite3-dev", "llvm", "libncurses5-dev",
		"xz-utils",
	}
)
View Source
var (

	// VersionLink is the URL link from which we can get all possible versions
	VersionLink = "https://www.python.org/downloads/"
)

Functions

This section is empty.

Types

type Python

type Python struct {
	pkg.Base
	Version string
	Emitter *emission.Emitter
	// contains filtered or unexported fields
}

Python essential struct

func New

func New(version string, emitter *emission.Emitter) *Python

New returns language struct

func (Python) Bins

func (python Python) Bins() []string

Bins returns list of the all bins included with the distribution of the language

func (Python) Dots

func (python Python) Dots() []string

Dots returns list of the all available filenames which can define versions

func (Python) Events

func (python Python) Events() *emission.Emitter

Events returns language related event emitter

func (Python) Info

func (python Python) Info() map[string]string

Info provides all the info needed for installation of the plugin

func (Python) Install

func (python Python) Install() (err error)

Install hook

func (Python) ListRemote

func (python Python) ListRemote() (result []string, err error)

ListRemote returns list of the all available remote versions

func (Python) PostInstall

func (python Python) PostInstall() (err error)

PostInstall hook

func (Python) PreInstall

func (python Python) PreInstall() error

PreInstall hook

Directories

Path Synopsis
Package patch provides logic for applying patches for the python installation
Package patch provides logic for applying patches for the python installation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL