-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1.22 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
import os
from setuptools import find_packages, setup
from pathlib import Path
here = os.path.abspath(os.path.dirname(__file__))
# Version
version_file = os.path.join(here, "urartu", "VERSION")
with open(version_file) as vf:
__version__ = vf.read().strip()
# Requirements
with open(os.path.join(here, "requirements.txt"), "r") as f:
requirements = f.read().splitlines()
# Package info
NAME = "urartu"
DESCRIPTION = "An open-source NLP framework that offers high-level wrappers designed for effortless launch, enhanced reproducibility, superior control, and unmatched flexibility for your experiments."
VERSION = __version__
REQUIRES_PYTHON = ">=3.10.0"
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
python_requires=REQUIRES_PYTHON,
install_requires=requirements,
packages=find_packages("."),
package_dir={"": "."},
zip_safe=False,
entry_points={
"console_scripts": [
"urartu=urartu.__init__:main",
]
},
package_data={
"": ["**/*.yaml"],
},
)