forked from vicolab/ml-pyxis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (26 loc) · 951 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- coding: utf-8 -*-
import os
import re
from setuptools import (find_packages, setup)
path = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(path, 'README.rst')).read()
try:
with open(os.path.join(path, 'pyxis', '__init__.py'), 'r') as f:
contents = f.read()
version = re.search('__version__ = "(.*)"', contents).groups()[0]
except Exception:
version = ''
setup(
name='ml-pyxis',
version=version,
description='Tool for reading and writing datasets of tensors with '
'MessagePack and Lightning Memory-Mapped Database (LMDB)',
long_description=open('README.rst').read(),
author='Igor Barros Barbosa and Aleksander Rognhaugen',
author_email='',
url='https://github.com/vicolab/ml-pyxis',
license='MIT',
packages=find_packages(),
include_package_data=True,
install_requires=['lmdb', 'msgpack>=0.4.0', 'numpy>=1.9.0', 'six'],
zip_safe=False)