-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·45 lines (39 loc) · 1.5 KB
/
setup.py
File metadata and controls
executable file
·45 lines (39 loc) · 1.5 KB
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
from typing import Dict
from setuptools import find_packages, setup
# version.py defines the VERSION and VERSION_SHORT variables.
# We use exec here so we don't import snorkel.
VERSION: Dict[str, str] = {}
with open("knodle_experiments/version.py", "r") as version_file:
exec(version_file.read(), VERSION)
with open('requirements.txt') as f:
requirements = f.readlines()
test_requirements = ['pytest']
# Use README.md as the long_description for the package
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
setup(
name="knodle-experiments",
version=VERSION["__version__"],
description="Evaluation code to use knodle.",
long_description_content_type="text/markdown",
long_description=long_description,
author_email="knodle@cs.univie.ac.at",
license="Apache License 2.0",
packages=find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
install_requires=requirements,
tests_require=test_requirements,
extras_require={'test': test_requirements}
)