File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 2222 package_data = {'' : ['LICENSE' ]},
2323 install_requires = [
2424 'msal>=0.4.1,<2.0.0' ,
25- "portalocker~=1.6;platform_system=='Windows'" ,
26- "portalocker~=1.0;platform_system!='Windows'" ,
25+
26+ # In order to implement these requirements:
27+ # Lowerbound = (1.6 if playform_system == 'Windows' else 1.0)
28+ # Upperbound < (3 if python_version >= '3.5' else 2)
29+ # The following 4 lines use the `and` syntax defined here:
30+ # https://www.python.org/dev/peps/pep-0508/#grammar
31+ "portalocker<3,>=1.0;python_version>='3.5' and platform_system!='Windows'" ,
32+ "portalocker<2,>=1.0;python_version=='2.7' and platform_system!='Windows'" ,
33+ "portalocker<3,>=1.6;python_version>='3.5' and platform_system=='Windows'" ,
34+ "portalocker<2,>=1.6;python_version=='2.7' and platform_system=='Windows'" ,
35+
2736 "pathlib2;python_version<'3.0'" ,
2837 ## We choose to NOT define a hard dependency on this.
2938 # "pygobject>=3,<4;platform_system=='Linux'",
You can’t perform that action at this time.
0 commit comments