hyfetch/setup.py

50 lines
1.3 KiB
Python
Raw Normal View History

2022-07-30 10:02:01 -06:00
#!/usr/bin/env python3
2022-04-10 01:20:30 -06:00
import pathlib
2022-04-10 20:50:11 -06:00
from setuptools import setup
2022-04-10 01:20:30 -06:00
import hyfetch
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
2022-08-30 17:11:33 -06:00
README = (HERE / "README.md").read_text('utf-8')
2022-04-10 01:20:30 -06:00
# 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",
2022-04-10 20:50:11 -06:00
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
2022-04-10 01:20:30 -06:00
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
2022-04-10 03:21:39 -06:00
packages=['hyfetch'],
package_data={'hyfetch': ['hyfetch/*']},
2022-04-10 01:20:30 -06:00
include_package_data=True,
install_requires=[
# Universal dependencies
'setuptools', 'typing_extensions',
# Windows dependencies
'psutil ; platform_system=="Windows"',
],
2022-04-10 01:20:30 -06:00
entry_points={
"console_scripts": [
2022-04-10 03:21:39 -06:00
"hyfetch=hyfetch.main:run",
2022-04-10 01:20:30 -06:00
]
},
2022-07-30 10:02:01 -06:00
scripts=['hyfetch/scripts/neowofetch']
2022-04-10 01:20:30 -06:00
)