We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59467e commit 97875dbCopy full SHA for 97875db
liteindex/common_utils.py
@@ -1,8 +1,13 @@
1
# ----------- Update ulimit -----------
2
-import resource
+try:
3
+ import resource
4
+except:
5
+ resource = None
6
7
8
def set_ulimit():
9
+ if resource is None:
10
+ return
11
soft, hard = resource.getrlimit(resource.RLIMIT_NOFILE)
12
13
limit = hard - 1
setup.py
@@ -18,7 +18,7 @@
18
EMAIL = "[email protected]"
19
AUTHOR = "BEDAPUDI PRANEETH"
20
REQUIRES_PYTHON = ">=3.6.0"
21
-VERSION = "0.0.2.dev34"
+VERSION = "0.0.2.dev35"
22
23
# What packages are required for this module to be executed?
24
REQUIRED = []
0 commit comments