yimaio.blogg.se

Python setuptools install
Python setuptools install













python setuptools install

Most of the options are self-explainable, you can just copy the content of setup.py above and modify it as you need.

python setuptools install

We will look directly into a real simple setup.py here: import setuptools with open("README.md", "r") as fh: long_description = fh.read() tup( name="Your Package name", # Replace with your package name version="version_no", author="Your name", author_email="Your email id", description="Description of your Python package", long_description=long_description, long_description_content_type="text/markdown", url="Link to your Github repo for your Package", packages=setuptools.find_packages(), classifiers=, python_requires='>=3.6', )

python setuptools install

The setup.py file contains information about your package that PyPi needs, like its name, a description, the current version, etc.















Python setuptools install