Skip to content

Commit a98fed6

Browse files
author
yunfan
committed
[bugfix] package now ignores reproduction/ & test/
1 parent 209a8fe commit a98fed6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@
1111
with open('requirements.txt', encoding='utf-8') as f:
1212
reqs = f.read()
1313

14+
pkgs = [p for p in find_packages() if p.startswith('fastNLP')]
15+
print(pkgs)
16+
1417
setup(
1518
name='FastNLP',
16-
version='0.4.9',
19+
version='0.4.10',
1720
url='https://github.com/fastnlp/fastNLP',
1821
description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
1922
long_description=readme,
2023
long_description_content_type='text/markdown',
2124
license='Apache License',
2225
author='FudanNLP',
2326
python_requires='>=3.6',
24-
packages=find_packages(),
27+
packages=pkgs,
2528
install_requires=reqs.strip().split('\n'),
2629
)

0 commit comments

Comments
 (0)