This are the basic steps to release a package to PyPi
1 . Create a setup.py file
2. Build the package files
3. Create account on Pypi
4. Publish it on PyPi using twine
1. The file setup.py should look like this:
from setuptools import setup, find_packages
VERSION = '0.0.1'
DESCRIPTION = 'A conversion package'
LONG_DESCRIPTION = 'A package that makes it easy to convert values between several units of measurement'
setup(
name="convrsn",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author="<Your Name>",
author_email="<your email>",
license='MIT',
packages=find_packages(),
install_requires=[],
keywords='conversion',
classifiers= [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3",
]
)
This are the basic steps to release a package to PyPi
1 . Create a setup.py file
2. Build the package files
3. Create account on Pypi
4. Publish it on PyPi using twine
1. The file setup.py should look like this:
2 Build the package file
3 Create account on PyPi
Register
4 Publish the package
Full steps are on this link
Hope this helps.