April 2016
Beginner
156 pages
3h 23m
English
All of the tools we mentioned previously (setuptools, Distutils and numpy.distutils) are centered around the function setup. To get an understanding of most packaging requirements, we will look into a simple setup function and then study a full-fledged installer. To create a basic installer, we need to call the setup function with metadata about the package. Let's call our first package py_hello, which has just one function greeter, and just prints a message when called. The package can be downloaded from the Bitbucket repository at https://bitbucket.org/tdatta/books/src/af376df081ef/python/simple_setup/?at=master The project directory structure for the project looks like the following:
py_hello ├── README ...
Read now
Unlock full access