-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (63 loc) · 2.15 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""
Simple check list for releasing
1. Bump `version` in `setup.py`
2. Bump the corresponding `version` in `tests/test_semantic_search.py`
4. Commit these changes with the message: ":bookmark: Release: v<version>"
5. Add a tag in git to mark the release: "git tag v<version> -m 'Adds tag v<version> for release' "
Push the tag to git: git push --tags origin main
6. Optionally add some release notes to the tag in GitHub
"""
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="semantic-search",
version="0.1.0",
author="John Giorgi",
author_email="[email protected]",
description=("A simple semantic search engine for scientific papers."),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/PathwayCommons/semantic-search",
packages=setuptools.find_packages(),
keywords=["natural language processing", "pytorch", "transformers", "semantic search"],
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
],
python_requires=">=3.7.0",
install_requires=[
"biopython>=1.78",
"fastapi>=0.63.0",
"faiss-cpu>=1.7.0",
"uvicorn>=0.13.4",
"torch>=1.7.1",
"transformers>=4.3.3",
"typer>=0.3.2",
"python-dotenv>=0.15.0",
"xmltodict>=0.12.0",
"loguru>=0.5.3",
],
extras_require={
"dev": [
"black",
"coverage",
"codecov",
"flake8",
"pytest",
"pytest-cov",
"hypothesis",
"mypy",
],
"demo": ["streamlit", "watchdog", "validators"],
},
)