加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 787 Bytes
一键复制 编辑 原始数据 按行查看 历史
yh_cc 提交于 2020-06-07 20:35 . 修改部分注释, 准备开发0.5.6
#!/usr/bin/env python
# coding=utf-8
from setuptools import setup, find_packages
with open('README.md', encoding='utf-8') as f:
readme = f.read()
with open('LICENSE', encoding='utf-8') as f:
license = f.read()
with open('requirements.txt', encoding='utf-8') as f:
reqs = f.read()
pkgs = [p for p in find_packages() if p.startswith('fastNLP')]
print(pkgs)
setup(
name='FastNLP',
version='0.5.6',
url='https://github.com/fastnlp/fastNLP',
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
long_description=readme,
long_description_content_type='text/markdown',
license='Apache License',
author='FudanNLP',
python_requires='>=3.6',
packages=pkgs,
install_requires=reqs.strip().split('\n'),
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化