mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-11-29 18:59:01 +08:00
5309c98846
- fix issue #58, use path.join instead of + - modify description and version in setup.py - docstring in core/ follows RestructureText format
25 lines
562 B
Python
25 lines
562 B
Python
#!/usr/bin/env python
|
|
# coding=utf-8
|
|
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='fastNLP',
|
|
version='0.0.1',
|
|
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
|
|
long_description=readme,
|
|
license=license,
|
|
author='fudanNLP',
|
|
python_requires='>=3.5',
|
|
packages=find_packages(),
|
|
install_requires=reqs.strip().split('\n'),
|
|
)
|