fastNLP/setup.py

30 lines
838 B
Python
Raw Normal View History

#!/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()
2022-07-08 00:18:25 +08:00
pkgs = [p for p in find_packages(exclude=['docs', 'tests', 'tutorials']) if p.startswith('fastNLP')]
print(pkgs)
setup(
name='FastNLP',
2022-07-25 16:21:33 +08:00
version='1.0.0beta',
2020-11-06 20:28:27 +08:00
url='https://gitee.com/fastnlp/fastNLP',
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
long_description=readme,
2019-05-24 01:58:04 +08:00
long_description_content_type='text/markdown',
license='Apache License',
2020-11-06 20:28:27 +08:00
author='Fudan FastNLP Team',
2022-07-07 23:18:57 +08:00
python_requires='>=3.6',
packages=pkgs,
install_requires=reqs.strip().split('\n'),
)