-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (28 loc) · 869 Bytes
/
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
import pathlib
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent
VERSION = '0.1.0'
PACKAGE_NAME = 'allenrank'
AUTHOR = 'Jacob Danovitch'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/jacobdanovitch/allenrank'
LICENSE = 'Apache License 2.0'
DESCRIPTION = 'Document ranking with AllenNLP.'
LONG_DESCRIPTION = (HERE / "README.md").read_text()
LONG_DESC_TYPE = "text/markdown"
with open(HERE / 'requirements.txt') as f:
INSTALL_REQUIRES = f.read().split('\n')
print(INSTALL_REQUIRES)
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
packages=find_packages()
)