2018-09-02 13:32:57 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# coding=utf-8
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2018-09-15 17:18:51 +08:00
|
|
|
with open('README.md', encoding='utf-8') as f:
|
2018-09-02 13:32:57 +08:00
|
|
|
readme = f.read()
|
|
|
|
|
2018-09-15 17:18:51 +08:00
|
|
|
with open('LICENSE', encoding='utf-8') as f:
|
2018-09-02 13:32:57 +08:00
|
|
|
license = f.read()
|
|
|
|
|
2018-09-15 17:18:51 +08:00
|
|
|
with open('requirements.txt', encoding='utf-8') as f:
|
2018-09-02 13:32:57 +08:00
|
|
|
reqs = f.read()
|
|
|
|
|
|
|
|
setup(
|
2018-12-06 19:28:27 +08:00
|
|
|
name='FastNLP',
|
2018-11-27 20:28:01 +08:00
|
|
|
version='0.1.1',
|
2018-09-05 10:00:57 +08:00
|
|
|
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
|
2018-09-02 13:32:57 +08:00
|
|
|
long_description=readme,
|
|
|
|
license=license,
|
2018-12-06 19:28:27 +08:00
|
|
|
author='FudanNLP',
|
2018-09-02 13:32:57 +08:00
|
|
|
python_requires='>=3.5',
|
|
|
|
packages=find_packages(),
|
|
|
|
install_requires=reqs.strip().split('\n'),
|
|
|
|
)
|