hyfetch/setup.py
2023-02-07 18:52:51 -05:00

51 lines
1.5 KiB
Python
Executable file

#!/usr/bin/env python3
import pathlib
from setuptools import setup, find_packages
import hyfetch.constants
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text('utf-8')
# This call to setup() does all the work
setup(
name="HyFetch",
version=hyfetch.constants.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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
packages=find_packages(),
package_data={'hyfetch': ['hyfetch/*']},
include_package_data=True,
install_requires=[
# Universal dependencies
'setuptools', 'typing_extensions',
# Windows dependencies
'psutil ; platform_system=="Windows"',
'colorama ; platform_system=="Windows"',
],
entry_points={
"console_scripts": [
"hyfetch=hyfetch.main:run",
]
},
scripts=['hyfetch/scripts/neowofetch']
)