Skip to content

Commit 911cae5

Browse files
author
Dom Hudson
committed
Adding license and readme
1 parent 4db484d commit 911cae5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

setup.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,24 @@
33
from distutils.core import setup
44
from setuptools import find_packages
55

6+
def get_readme():
7+
""" Get the package README as a string.
8+
9+
:return str
10+
"""
11+
root = os.path.abspath(os.path.dirname(__file__))
12+
readme_path = os.path.join(root, 'README.md')
13+
14+
with open(readme_path) as f:
15+
return f.read()
616

717
setup(
818
name = 'lmdb_embeddings',
9-
version = '0.2.0',
19+
version = '0.2.1',
1020
description = 'Fast querying of word embeddings using the LMDB "Lightning" Database.',
21+
license = 'GNU General Public License v3.0',
22+
long_description = get_readme(),
23+
long_description_content_type = 'text/markdown',
1124
author = 'Dom Hudson',
1225
author_email = 'dom.hudson@thoughtriver.com',
1326
url = 'https://www.thoughtriver.com',
@@ -20,4 +33,4 @@
2033
'pytest',
2134
'pytest-cov',
2235
]
23-
)
36+
)

0 commit comments

Comments
 (0)