[F] Properly include script resource
This commit is contained in:
parent
86ad1b5ad2
commit
d94585473c
3 changed files with 5 additions and 2 deletions
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
include hyfetch/scripts/*
|
|
@ -124,6 +124,7 @@ def create_config() -> Config:
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
parser = argparse.ArgumentParser(description='neofetch with flags <3')
|
parser = argparse.ArgumentParser(description='neofetch with flags <3')
|
||||||
|
parser.parse_args()
|
||||||
# TODO: Param overwrite config
|
# TODO: Param overwrite config
|
||||||
config = check_config()
|
config = check_config()
|
||||||
run_neofetch(PRESETS.get(config.preset))
|
run_neofetch(PRESETS.get(config.preset))
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -25,12 +25,13 @@ setup(
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
],
|
],
|
||||||
packages=find_packages(exclude=("tests",)),
|
packages=['hyfetch'],
|
||||||
|
package_data={'hyfetch': ['hyfetch/*']},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['hypy_utils==1.0.5'],
|
install_requires=['hypy_utils==1.0.5'],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"hyfetch=hyfetch.hyfetch:main",
|
"hyfetch=hyfetch.main:run",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue