module setuphelper.setup_creation

Short summary

module pymyinstall.setuphelper.setup_creation

Functions to help creating a setup

Functions

function

truncated documentation

create_empty_folder_setup

Creates a quick empty shell for a new project.

create_folder_setup

Creates a quick setup for an existing or installed projects.

Documentation

Functions to help creating a setup

New in version 1.1.

source on GitHub

pymyinstall.setuphelper.setup_creation.create_empty_folder_setup(fold, name, author=None, description=None, url=None, durl=None, version='0.1', subversion='0')

Creates a quick empty shell for a new project.

Parameters:
  • fold – location

  • name – name of the project

  • author – author

  • description – description

  • url – url for the documentation

  • durl – url to download it

  • version – version

  • subversion – third part of the version number

Returns:

list of created files

source on GitHub

pymyinstall.setuphelper.setup_creation.create_folder_setup(fold, wheel=True, output_path=None, fLOG=None, version=None, description=None)

Creates a quick setup for an existing or installed projects.

Parameters:
  • fold – folder or module (must be imported first)

  • wheel – run the setup to build the wheel

  • output_path – copies everything here it not None

  • version – to overwrite version

  • description – to overwrite description

Returns:

list of created files

Create a setup from installed packages

This packages pandas into a wheel from the installed sources. Location of the sources can be specified too.

from pymyinstall.setuphelper import create_folder_setup
create_folder_setup('pandas', fLOG=print, output_path='.')

source on GitHub