-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (34 loc) · 1.04 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
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
readme = f.read()
REQS = {
"base": "requirements.txt",
"full": "requirements-full.txt",
}
requires = {}
for version, file in REQS.items():
with open(file, encoding="utf-8") as f:
requires[version] = [
line.strip()
for line in f.read().splitlines()
if line.strip() and not line.strip().startswith("#")
]
setup_args = dict(
name="danoliterate",
version="0.1.0",
packages=find_packages(),
author="Søren Winkel Holm",
author_email="swholm@protonmail.com",
install_requires=requires["base"],
extras_require={
"full": requires["full"],
},
include_package_data=True,
url = "https://github.com/sorenmulli/danoliterate",
description="Benchmark of Generative Large Language Models in Danish",
long_description_content_type="text/markdown",
long_description=readme,
license="Apache License 2.0",
)
if __name__ == "__main__":
setup(**setup_args)