-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (41 loc) · 1.38 KB
/
setup.py
File metadata and controls
43 lines (41 loc) · 1.38 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
"""Legacy setup.py for editable installs; prefer building via pyproject.toml."""
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), encoding="utf-8") as f:
return f.read()
setup(
name="wisse-sentence",
version="0.1.0",
description="Sentence embeddings (WISSE) with SBERT-like API for downstream NLP.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
author="Ignacio Arroyo-Fernandez",
author_email="iaf@ciencias.unam.mx",
url="https://github.com/iarroyof/sentence_embedding",
license="BSD-3-Clause",
packages=["wisse"],
python_requires=">=3.8",
install_requires=[
"numpy>=1.20",
"scikit-learn>=1.0",
"gensim>=4.0",
"joblib>=1.0",
"requests>=2.25",
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Linguistic",
],
entry_points={
"console_scripts": [
"wisse-encode=wisse.cli:main_encode",
"wisse-train=wisse.cli:main_train",
"keyed2indexed=wisse.cli:main_keyed2indexed",
],
},
)