Skip to content

Commit

Permalink
requirements: made easygui optional with [gui] extra
Browse files Browse the repository at this point in the history
  • Loading branch information
ideeockus committed May 20, 2024
1 parent 4093ece commit 04af182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pyparsing>=2.1.0,<4
olefile>=0.46
easygui
colorclass
msoffcrypto-tool; platform_python_implementation!="PyPy" or (python_version>="3" and platform_system!="Windows" and platform_system!="Darwin")
pcodedmp>=1.2.5
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ def main():
install_requires=[
"pyparsing>=2.1.0,<4", # changed from 2.2.0 to 2.1.0 for issue #481
"olefile>=0.46",
"easygui",
'colorclass',
# msoffcrypto-tool is not installable on PyPy+Windows (see issue #473),
# so we only require it if the platform is not Windows or not PyPy:
Expand All @@ -342,7 +341,8 @@ def main():
# References for the syntax:
# https://github.com/decalage2/oletools/issues/690
# https://stackoverflow.com/questions/30239152/specify-extras-require-with-pip-install-e
]
],
'gui': ['easygui'],
}
)

Expand Down

0 comments on commit 04af182

Please sign in to comment.