[F] Properly include script resource

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-04-10 05:21:39 -04:00
parent 86ad1b5ad2
commit d94585473c
3 changed files with 5 additions and 2 deletions

1
MANIFEST.in Normal file
View file

@ -0,0 +1 @@
include hyfetch/scripts/*

View file

@ -124,6 +124,7 @@ def create_config() -> Config:
def run():
parser = argparse.ArgumentParser(description='neofetch with flags <3')
parser.parse_args()
# TODO: Param overwrite config
config = check_config()
run_neofetch(PRESETS.get(config.preset))

View file

@ -25,12 +25,13 @@ setup(
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(exclude=("tests",)),
packages=['hyfetch'],
package_data={'hyfetch': ['hyfetch/*']},
include_package_data=True,
install_requires=['hypy_utils==1.0.5'],
entry_points={
"console_scripts": [
"hyfetch=hyfetch.hyfetch:main",
"hyfetch=hyfetch.main:run",
]
},
)