hyfetch/setup.py

51 lines
1.4 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, find_packages
2022-04-10 20:50:11 -06:00
2022-11-03 21:35:21 -06:00
import hyfetch.constants
2022-04-10 01:20:30 -06:00
# 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",
2022-11-03 21:35:21 -06:00
version=hyfetch.constants.VERSION,
2022-04-10 01:20:30 -06:00
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-12-12 17:21:09 -07:00
"Programming Language :: Python :: 3.11",
2022-04-10 01:20:30 -06:00
],
packages=find_packages(),
2022-04-10 03:21:39 -06:00
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
)