Skip to content

Commit 7a1d84e

Browse files
authored
Merge pull request #49 from AzureAD/conditional-dependency
Use more precise dependency declaration
2 parents 25c3a06 + 9f08bca commit 7a1d84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
package_data={'': ['LICENSE']},
2626
install_requires=[
2727
'msal>=0.4.1,<2.0.0',
28-
'portalocker~=1.6',
28+
"portalocker~=1.6;platform_system=='Windows'",
29+
"portalocker~=1.0;platform_system!='Windows'",
2930
"pathlib2;python_version<'3.0'",
3031
## We choose to NOT define a hard dependency on this.
3132
# "pygobject>=3,<4;platform_system=='Linux'",

0 commit comments

Comments
 (0)