Skip to content

Commit 0b6dfd1

Browse files
committed
Cleanup
1 parent ad297d8 commit 0b6dfd1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@
1717
except ImportError:
1818
pass
1919

20-
2120
def read(*parts):
2221
filename = os.path.join(os.path.dirname(__file__), *parts)
2322
with codecs.open(filename, encoding='utf-8') as fp:
2423
return fp.read()
2524

26-
2725
def find_version(*file_paths):
2826
version_file = read(*file_paths)
2927
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
@@ -32,7 +30,6 @@ def find_version(*file_paths):
3230
return version_match.group(1)
3331
raise RuntimeError("Unable to find version string.")
3432

35-
3633
setup(name='tarantool-queue',
3734
version=find_version('tarantool_queue', '__init__.py'),
3835
description='Python bindings for Tarantool queue script (http://github.com/tarantool/queue)',

tarantool_queue/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__version__ = "0.1.2"
22

3-
from tarantool_queue import Task, Tube, Queue
3+
from .tarantool_queue import Task, Tube, Queue
44
__all__ = [Task, Tube, Queue, __version__]

0 commit comments

Comments
 (0)