[bugfix] package now ignores reproduction/ & test/
@@ -11,9 +11,12 @@ with open('LICENSE', encoding='utf-8') as f:
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.4.9',
+ version='0.4.10',
url='https://github.com/fastnlp/fastNLP',
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
long_description=readme,
@@ -21,6 +24,6 @@ setup(
license='Apache License',
author='FudanNLP',
python_requires='>=3.6',
- packages=find_packages(),
+ packages=pkgs,
install_requires=reqs.strip().split('\n'),
)
