Requirements


Check the tools
pip --version

pip install wheel

What is Python Package Index?
What is Distutils?
Creating a Package

Directory Structure
some_root_dir/ |-- README |-- setup.py |-- an_example_pypi_project | |-- __init__.py | |-- useful_1.py | |-- useful_2.py |-- tests |-- |-- __init__.py |-- |-- runall.py |-- |-- test0.py
__init__.py
Building and Distributing Packages with Setuptools
from setuptools import setup
setup(name='mypackage',
version='1',
description='Installation of Package',
url='#',
author='Monisha Macharla Vasu',
author_email='info@iot4beginners.com',
license='MIT',
packages=['mypackage'],
zip_safe=False)
pip install .

What are wheels?
pip install wheel
python setup.py sdist bdist_wheel

pip list


