From 6306a0b81037025c25b9ee8a42075d64db1e4042 Mon Sep 17 00:00:00 2001 From: OrdinaryEnder Date: Fri, 9 Jun 2023 07:37:41 +0700 Subject: [PATCH] PyPI Alpha --- setup.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ca8a4ab --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +# Import our newly installed setuptools package. +import setuptools + +# Opens our README.md and assigns it to long_description. +with open("README.md", "r") as fh: + long_description = fh.read() + +# Defines requests as a requirement in order for this package to operate. The dependencies of the project. +# requirements = ["requests<=2.21.0"] + +# Function that takes several arguments. It assigns these values to our package. +setuptools.setup( + # Distribution name the package. Name must be unique so adding your username at the end is common. + name="sshsurf.py", + # Version number of your package. Semantic versioning is commonly used. + version="0.0.1a", + # Author name. + author="OrdinaryEnder", + # Author's email address. + author_email="endergaming1458@gmail.com", + # Short description that will show on the PyPi page. + description="A wrapper for ssh.surf API", + # Long description that will display on the PyPi page. Uses the repo's README.md to populate this. + long_description=long_description, + # Defines the content type that the long_description is using. + long_description_content_type="text/markdown", + # The URL that represents the homepage of the project. Most projects link to the repo. + url="https://github.com/OrdinaryEnder/sshsurf.py", + # Finds all packages within in the project and combines them into the distribution together. + packages=setuptools.find_packages(), + # requirements or dependencies that will be installed alongside your package when the user installs it via pip. + install_requires=['aiohttp'], + # Gives pip some metadata about the package. Also displays on the PyPi page. + classifiers=[ + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + # The version of Python that is required. + python_requires='>=3.6', +)