Add helper script and doc for releasing pip package. (#6613)

* Fix `long_description_content_type`.
This commit is contained in:
Jiaming Yuan
2021-01-21 14:46:52 +08:00
committed by GitHub
parent 9d2832a3a3
commit f0fd7629ae
3 changed files with 145 additions and 0 deletions

View File

@@ -305,6 +305,7 @@ if __name__ == '__main__':
description="XGBoost Python Package",
long_description=open(os.path.join(CURRENT_DIR, 'README.rst'),
encoding='utf-8').read(),
long_description_content_type="text/x-rst",
install_requires=[
'numpy',
'scipy',