You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 796 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python
  2. # coding=utf-8
  3. from setuptools import setup, find_packages
  4. with open('README.md', encoding='utf-8') as f:
  5. readme = f.read()
  6. with open('LICENSE', encoding='utf-8') as f:
  7. license = f.read()
  8. with open('requirements.txt', encoding='utf-8') as f:
  9. reqs = f.read()
  10. pkgs = [p for p in find_packages() if p.startswith('fastNLP')]
  11. print(pkgs)
  12. setup(
  13. name='FastNLP',
  14. version='0.7.1',
  15. url='https://gitee.com/fastnlp/fastNLP',
  16. description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team',
  17. long_description=readme,
  18. long_description_content_type='text/markdown',
  19. license='Apache License',
  20. author='Fudan FastNLP Team',
  21. python_requires='>=3.7',
  22. packages=pkgs,
  23. install_requires=reqs.strip().split('\n'),
  24. )