|
@@ -11,9 +11,12 @@ with open('LICENSE', encoding='utf-8') as f: |
|
|
with open('requirements.txt', encoding='utf-8') as f: |
|
|
with open('requirements.txt', encoding='utf-8') as f: |
|
|
reqs = f.read() |
|
|
reqs = f.read() |
|
|
|
|
|
|
|
|
|
|
|
pkgs = [p for p in find_packages() if p.startswith('fastNLP')] |
|
|
|
|
|
print(pkgs) |
|
|
|
|
|
|
|
|
setup( |
|
|
setup( |
|
|
name='FastNLP', |
|
|
name='FastNLP', |
|
|
version='0.4.9', |
|
|
|
|
|
|
|
|
version='0.4.10', |
|
|
url='https://github.com/fastnlp/fastNLP', |
|
|
url='https://github.com/fastnlp/fastNLP', |
|
|
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team', |
|
|
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team', |
|
|
long_description=readme, |
|
|
long_description=readme, |
|
@@ -21,6 +24,6 @@ setup( |
|
|
license='Apache License', |
|
|
license='Apache License', |
|
|
author='FudanNLP', |
|
|
author='FudanNLP', |
|
|
python_requires='>=3.6', |
|
|
python_requires='>=3.6', |
|
|
packages=find_packages(), |
|
|
|
|
|
|
|
|
packages=pkgs, |
|
|
install_requires=reqs.strip().split('\n'), |
|
|
install_requires=reqs.strip().split('\n'), |
|
|
) |
|
|
) |