-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
43 lines (36 loc) · 1.39 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
import setuptools
import os
__location__ = os.path.realpath(os.path.join(
os.getcwd(), os.path.dirname(__file__)))
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements():
reqs_path = os.path.join(__location__, 'requirements.txt')
with open(reqs_path, encoding='utf8') as f:
reqs = [line.strip() for line in f if not line.strip().startswith('#')]
names = []
for req in reqs:
names.append(req)
return {'install_requires': names}
setuptools.setup(
name="qanary-helpers",
version="0.3.2",
author="Andreas Both, Aleksandr Perevalov",
author_email="[email protected], [email protected]",
description="A package that helps to build Python components for the Qanary Question Answering framework",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/WSE-research/qanary_helpers",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
**read_requirements()
)