[F] Make psutil dependency Windows-only
This commit is contained in:
parent
1456660797
commit
a8352d1fef
2 changed files with 14 additions and 7 deletions
8
setup.py
8
setup.py
|
|
@ -33,7 +33,13 @@ setup(
|
|||
packages=['hyfetch'],
|
||||
package_data={'hyfetch': ['hyfetch/*']},
|
||||
include_package_data=True,
|
||||
install_requires=['setuptools', 'typing_extensions'],
|
||||
install_requires=[
|
||||
# Universal dependencies
|
||||
'setuptools', 'typing_extensions'
|
||||
|
||||
# Windows dependencies
|
||||
'psutil ; platform_system=="Windows"'
|
||||
],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"hyfetch=hyfetch.main:run",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue