-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (28 loc) · 808 Bytes
/
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
# Copyright (c) 2022, hrwX
# MIT License. See license.txt
import io
import os
from setuptools import find_packages, setup
with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n")
path = os.path.abspath(os.path.dirname(__file__))
description = "Information Retrival Models"
try:
with io.open(os.path.join(path, "README.md"), encoding="utf-8") as f:
long_description = f.read()
except FileNotFoundError:
long_description = description
setup(
name="RetrievalModels",
version="0.0.1",
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
author="hrwX",
license="MIT",
packages=find_packages(),
py_modules=["RetrievalModels"],
include_package_data=False,
zip_safe=False,
install_requires=install_requires,
)