TABLE OF CONTENTS


python3-distutils.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

DESCRIPTION

Distutils is the most common method for building and installing Python libraries and programs. The build is defined by a setup.py file in the top source directory, which controls the installation of files and the building of C Python extensions. Many such packages are hosted on the Python Package Index (PyPI, previously known as Cheeseshop).

This cygclass handles the building of Python 3.x distutils-based packages.

INHERITS

python3.cygclass

REQUIRES

python3


HOMEPAGE (python3-distutils)

[ Top ] [ python3-distutils.cygclass ] [ Overloads ]

DESCRIPTION

Default homepage of the Python3 module on the Python Package Index.


SRC_URI (python3-distutils)

[ Top ] [ python3-distutils.cygclass ] [ Overloads ]

DESCRIPTION

Download location of the Python3 module on the Python Package Index.


python3_distutils_compile

[ Top ] [ python3-distutils.cygclass ] [ Compile Functions ]

SYNOPSIS

  python3_distutils_compile [OPTIONS]

DESCRIPTION

Runs the setup.py 'config' and 'build' commands. All arguments are passed to the setup.py 'build' command.


python3_distutils_install

[ Top ] [ python3-distutils.cygclass ] [ Install Functions ]

SYNOPSIS

  python3_distutils_install [OPTIONS]

DESCRIPTION

Runs the setup.py 'install' phase, setting the root argument to install into $D, followed by python3_optimize. All arguments are passed to the setup.py 'install' command.


src_compile (python3-distutils)

[ Top ] [ python3-distutils.cygclass ] [ Overloads ]

DEFINITION

src_compile() {
        lndirs
        cd ${B}
        python3_distutils_compile
}

src_install (python3-distutils)

[ Top ] [ python3-distutils.cygclass ] [ Overloads ]

DEFINITION

src_install() {
        cd ${B}
        python3_distutils_install
}