-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
81 lines (73 loc) · 2.04 KB
/
setup.py
File metadata and controls
81 lines (73 loc) · 2.04 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"""
VecShare: A Framework for Sharing Word Embeddings
This is a framework for efficiently selecting, querying and downloading word
embeddings for NLP tasks. This release follows the indexer-signature model
described in bit.ly/VecShare
Latest Stable Version: 'pip install vecshare'
File Issues at: 'https://github.com/JaredFern/VecShare'
"""
import re
from os import path
from setuptools import setup, find_packages
def read(*paths):
filename = path.join(path.abspath(path.dirname(__file__)),*paths)
with open(filename) as f:
return f.read()
def find_version(*paths):
contents = read(*paths)
match = re.search(r'^__version__ = [\'"]([^\'"]+)[\'"]', contents, re.M)
if not match:
raise RuntimeError('Unable to find version string.')
return match.group(1)
setup(
name = 'vecshare',
version = find_version('vecshare','__init__.py'),
description = 'Python library for sharing word embeddings',
long_description = read('README.md'),
url = 'https://github.com/JaredFern/VecShare',
author = 'JaredFern',
author_email = 'jared.fern@u.northwestern.edu',
license = 'Apache 2.0',
packages = find_packages(),
keywords = [
'word embeddings',
'word vectors',
'vecshare',
'natural language processing',
'NLP'
],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Information Analysis',
],
install_requires=[
'pandas',
'numpy',
'nltk',
'scipy',
'datadotworld',
'bs4',
'selenium',
'progressbar2',
'tabulate',
'pytz',
'pyvirtualdisplay',
'sklearn',
'pathos',
'requests',
'unicodecsv'
],
setup_requires=[
'pytest-runner',
],
)