Creating an installable Python package


The directory layout of a package:


├── mymath
│   ├── calc.py
│   └── __init__.py
└── setup.py


examples/package/2/setup.py
from setuptools import setup





setup(name='mymath',
      version='0.1',
      description='The best math library',
      url='http://github.com/szabgab/mymath',
      author='Foo Bar',
      author_email='foo@bar.com',
      license='MIT',
      packages=['mymath'],
      zip_safe=False,
      )