-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
51 lines (46 loc) · 1.18 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
from setuptools import find_packages, setup
import pathlib
# Commands:
# python3 -m black src/ --line-length 11
# python3 -m isort src/
# python setup.py sdist
# twine upload dist/*
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# Dependencies required to use
INSTALL_REQS = [
"torch == 1.13.1",
"pytorch_lightning == 1.9.1",
"guidance==0.1.10",
# "en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0-py3-none-any.whl",
"spacy==3.5.0",
"transformers",
"pyserini==0.20.0",
"matplotlib==3.6.3",
"flair",
"nltk",
"pandas",
"tqdm",
"accelerate",
"black",
"isort",
"Pyarrow",
"gdown"
]
setup(
name="qa-natver-tables",
version="1.00",
description="",
long_description=README,
long_description_content_type="text/markdown",
url="https://",
author="Rami Aly",
author_email="[email protected]",
license="MIT",
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=INSTALL_REQS,
python_requires=">=3.8",
)