-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 721 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (24 loc) · 721 Bytes
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
from setuptools import setup, find_packages
from pathlib import Path
from sys import platform
CURRENT_DIR = Path(__file__).parent
def get_long_description() -> str:
readme_md = CURRENT_DIR / "README.md"
with open(readme_md, encoding="utf8") as ld_file:
return ld_file.read()
install_requires = [
"transformers==4.25.1",
"torch==1.13.1",
"numpy==1.24.1",
"sentence_transformers",
]
setup(
name="quranic",
version="0.0.1",
long_description=get_long_description(),
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=install_requires,
packages=["quranic", "quranic/data"],
url="https://github.com/kyb3r/quranic",
)