File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 17
17
except ImportError :
18
18
pass
19
19
20
-
21
20
def read (* parts ):
22
21
filename = os .path .join (os .path .dirname (__file__ ), * parts )
23
22
with codecs .open (filename , encoding = 'utf-8' ) as fp :
24
23
return fp .read ()
25
24
26
-
27
25
def find_version (* file_paths ):
28
26
version_file = read (* file_paths )
29
27
version_match = re .search (r"^__version__ = ['\"]([^'\"]*)['\"]" ,
@@ -32,7 +30,6 @@ def find_version(*file_paths):
32
30
return version_match .group (1 )
33
31
raise RuntimeError ("Unable to find version string." )
34
32
35
-
36
33
setup (name = 'tarantool-queue' ,
37
34
version = find_version ('tarantool_queue' , '__init__.py' ),
38
35
description = 'Python bindings for Tarantool queue script (http://github.com/tarantool/queue)' ,
Original file line number Diff line number Diff line change 1
1
__version__ = "0.1.2"
2
2
3
- from tarantool_queue import Task , Tube , Queue
3
+ from . tarantool_queue import Task , Tube , Queue
4
4
__all__ = [Task , Tube , Queue , __version__ ]
You can’t perform that action at this time.
0 commit comments