-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
33 lines (31 loc) · 1.14 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
#!/usr/bin/env python
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='OpenNIR',
description='OpenNIR: A Complete Neural Ad-Hoc Ranking Pipeline',
author="Sean MacAvaney",
author_email="[email protected]",
long_description=long_description,
long_description_content_type='text/markdown',
version='0.1.0',
packages=find_packages(exclude=['test']),
include_package_data=True,
url="http://opennir.net/",
project_urls={
"Documentation": "http://opennir.net/",
"Source": "https://github.com/Georgetown-IR-Lab/OpenNIR"
},
install_requires=[l for l in open('requirements.txt') if not l.startswith('#') and not l.startswith('git+') and l.strip() != ''],
entry_points={
"console_scripts": [
"onir_init_dataset=onir.bin.init_dataset:main",
"onir_pipeline=onir.bin.pipeline:main",
"onir_eval=onir.bin.eval:main",
],
},
python_requires='>=3.6',
)