-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsetup.py
43 lines (37 loc) · 1.01 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python
import os
from distutils.core import setup
from setuptools import find_packages
def get_readme():
""" Get the package README as a string.
:return str
"""
root = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(root, 'README.md')
with open(readme_path) as f:
return f.read()
setup(
name = 'lmdb_embeddings',
version = '0.4.0',
description = 'Fast querying of word embeddings using the LMDB "Lightning" Database.',
license = 'GNU General Public License v3.0',
long_description = get_readme(),
long_description_content_type = 'text/markdown',
author = 'Dom Hudson',
author_email = 'dom.hudson@thoughtriver.com',
url = 'https://www.thoughtriver.com',
packages = find_packages(),
install_requires = [
'lmdb',
'msgpack',
'msgpack-numpy',
'numpy',
],
extras_require = {
'develop': [
'flake8',
'pytest',
'pytest-cov',
]
},
)