Skip to content

Commit 0fe380c

Browse files
committed
update setup.py and fix import_class
1 parent f76d8d8 commit 0fe380c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pyravendb/tools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def import_class(name):
7474
for comp in components[1:]:
7575
mod = getattr(mod, comp)
7676
return mod
77-
except (ImportError, ValueError):
77+
except (ImportError, ValueError, AttributeError):
7878
pass
7979
return None
8080

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
setup(
44
name='pyravendb',
55
packages=find_packages(),
6-
version='1.0.5',
6+
version='1.0.6',
77
description='This is the official python client for RavenDB document database',
88
author='Idan Haim Shalom',
99
author_email='haimdude@gmail.com',
1010
url='https://github.com/IdanHaim/RavenDB-Python-Client',
1111
license='GNU',
1212
install_requires=
1313
[
14-
'pycrypto',
15-
'requests',
16-
'inflector',
14+
"pycrypto >= 2.6.1",
15+
"requests >= 2.9.1",
16+
"inflector >= 2.0.11",
17+
"enum >= 1.1.2",
1718
],
1819
zip_safe=False
1920
)

0 commit comments

Comments
 (0)