Browse Source

update packaging related

tags/v1.0.0alpha
yhcc 2 years ago
parent
commit
e3b02cd1a5
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      MANIFEST.in
  2. +1
    -1
      setup.py

+ 5
- 0
MANIFEST.in View File

@@ -0,0 +1,5 @@
include requirements.txt
include LICENSE
include README.md
prune tests/
prune tutorials/

+ 1
- 1
setup.py View File

@@ -11,7 +11,7 @@ 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')]
pkgs = [p for p in find_packages(exclude=['docs', 'tests', 'tutorials']) if p.startswith('fastNLP')]
print(pkgs)

setup(


Loading…
Cancel
Save