-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
38 lines (30 loc) · 1.08 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
from __future__ import annotations
import os
import setuptools
def _parse_requirements(file):
required_packages = []
with open(
os.path.join(os.path.dirname(__file__), file), encoding='utf-8',
) as req_file:
for line in req_file:
required_packages.append(line.strip())
return required_packages
def _read_description():
with open('README.md') as description:
return description.read()
packages = [x for x in setuptools.find_packages() if x != 'test']
setuptools.setup(
name='outrank',
version='0.97.6',
description='OutRank: Feature ranking for massive sparse data sets.',
long_description=_read_description(),
long_description_content_type='text/markdown',
url='https://github.com/outbrain/outrank',
author='Research Infra (Outbrain); Blaz Skrlj led the development of this project',
license='BSD',
entry_points={'console_scripts': ['outrank = outrank.__main__:main']},
packages=packages,
zip_safe=True,
include_package_data=True,
install_requires=_parse_requirements('requirements.txt'),
)