-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
32 lines (30 loc) · 1.15 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
"""Setup script for package."""
import re
from setuptools import setup, find_packages
VERSION = re.search(r'^VERSION\s*=\s*"(.*)"', open("rankmetrics/version.py").read(), re.M).group(1)
with open("README.rst", "rb") as f:
LONG_DESCRIPTION = f.read().decode("utf-8")
setup(
name="rankmetrics",
version=VERSION,
description="Calculate various metrics relevant for learning to rank algorithms.",
long_description=LONG_DESCRIPTION,
author="Soren Lind Kristiansen",
author_email="[email protected]",
url="https://github.com/sorenlind/rankmetrics/",
keywords="recommender system learning to rank python",
packages=find_packages(),
install_requires=["numpy", "scipy", "sklearn"],
extras_require={
'test': ['pytest', 'tox', 'pandas'],
},
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pandas'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6'
])