From a0a2ed66f0d725b0e9a78e63d04a9a5d878ab308 Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Sun, 10 Apr 2022 03:20:30 -0400 Subject: [PATCH] [+] Module format --- hyfetch/__init__.py | 1 + setup.py | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 hyfetch/__init__.py create mode 100644 setup.py diff --git a/hyfetch/__init__.py b/hyfetch/__init__.py new file mode 100644 index 00000000..1f356cc5 --- /dev/null +++ b/hyfetch/__init__.py @@ -0,0 +1 @@ +__version__ = '1.0.0' diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..29927b7d --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +import pathlib +import hyfetch +from setuptools import setup, find_packages + +# The directory containing this file +HERE = pathlib.Path(__file__).parent + +# The text of the README file +README = (HERE / "README.md").read_text() + +# This call to setup() does all the work +setup( + name="HyFetch", + version=hyfetch.__version__, + description="neofetch with flags <3", + long_description=README, + long_description_content_type="text/markdown", + url="https://github.com/hykilpikonna/HyFetch", + author="Azalea Gui", + author_email="me@hydev.org", + license="MIT", + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + ], + packages=find_packages(exclude=("tests",)), + include_package_data=True, + install_requires=['hypy_utils==1.0.5'], + entry_points={ + "console_scripts": [ + "hyfetch=hyfetch.hyfetch:main", + ] + }, +)