-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (24 loc) · 723 Bytes
/
setup.py
File metadata and controls
31 lines (24 loc) · 723 Bytes
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
#!/usr/bin/env python3
# Copyright 2017-present, Facebook, Inc.
# All rights reserved.
#
# Adapt from facebookresearch/DrQA by Shuailong on Mar 22 2018.
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
with open('requirements.txt') as f:
reqs = f.read()
setup(
name='Sentence Classifier',
version='0.1.0',
description='PyTorch based Sentence Classifier',
author='Liang Shuailong',
author_email='liangshuailong@gmail.com',
long_description=readme,
license=license,
python_requires='>=3.6',
packages=find_packages(exclude=('data')),
install_requires=reqs.strip().split('\n'),
)