forked from facebookresearch/ParlAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (27 loc) · 931 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
35
#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from setuptools import setup, find_packages
import sys
if sys.version_info < (3,):
sys.exit('Sorry, Python 3 is required for ParlAI.')
with open('README.md', encoding="utf8") as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
with open('requirements.txt') as f:
reqs = f.read()
setup(
name='parlai',
version='0.1.0',
description='Unified API for accessing dialog datasets.',
long_description=readme,
url='http://parl.ai/',
license=license,
packages=find_packages(exclude=(
'data', 'docs', 'downloads', 'examples', 'logs', 'tests')),
install_requires=reqs.strip().split('\n'),
include_package_data=True,
test_suite='tests.suites.unittests',
)