DAGDA SEARCH | Back to results | Support

Distutils / Proposals / Setup Class - Python Wiki

Source: https://wiki.python.org/python/packaging/Distutils/Proposals/SetupClass.html

  1. Python Wiki /
  2. Python Wiki /
  3. Packaging /
  4. Distutils /
  5. Proposals /
  6. Distutils / Proposals / Setup Class
View as Markdown

Distutils / Proposals / Setup Class

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Setup as a Class not a procedure

—David Lyon

Let’s modernise setup and make it Object Oriented.

This will make it more user friendly and easier to learn and use.

To do this, we’ll need to:

1) Extend setup.cfg to hold more/all-of the metadata

2) Turn ‘setup’ into a class (rather than a procedure)

3) Provide member information:

4) self.pre_setup() - A method run before setup

5) self.post_setup() - A method for post-install configuration

PreviousDistutils/Proposals/Distutils20 Next Distutils / Proposals / Split and Compound Distributions