-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (35 loc) · 1.19 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
import setuptools
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_requires = [
'numpy',
#'scikit-learn',
'tqdm',
#'torch >= 1.6.0', # todo torch-gpu
#'torchvision',
]
extras_requires = None
setuptools.setup(
name="ptranking",
version="0.0.3",
author="II-Research",
author_email="[email protected]",
description="A library of scalable and extendable implementations of typical learning-to-rank methods based on PyTorch.",
license="MIT License",
keywords=['Learning-to-rank', 'PyTorch'],
url="https://github.com/wildltr/ptranking",
packages=setuptools.find_namespace_packages(include=["ptranking", "ptranking.*"]),
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=install_requires,
extras_require=extras_requires
)
#todo package_data