Change to bdist_wheel distribution.

This commit is contained in:
NMC-DAVE 2022-07-11 00:39:03 +08:00
parent c49ffbe8d7
commit 36c033a87d
3 changed files with 3 additions and 12 deletions

@ -1,8 +0,0 @@
include README.md
include LICENSE
recursive-exclude * __pycache__
recursive-exclude * *.pyc
recursive-exclude * *.pyo
recursive-exclude * *.orig
prune documents
prune examples

@ -4,4 +4,4 @@ from various data sources.
"""
__author__ = "The R & D Center for Weather Forecasting Technology in NMC, CMA"
__version__ = '0.1.10.3'
__version__ = '0.1.10.4'

@ -38,8 +38,6 @@ setup(
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: POSIX :: Linux',
@ -53,6 +51,7 @@ setup(
packages=find_packages(exclude=[
'documents', 'docs', 'examples', 'notebooks', 'tests', 'build', 'dist']),
include_package_data=True,
package_data={'':['LICENSE','README.md']},
exclude_package_data={'': ['.gitignore']},
install_requires=[
@ -74,5 +73,5 @@ setup(
# python setup.py build --build-base=D:/test/python/build
# distribution mode:
# python setup.py sdist build # create source tar.gz file in /dist
# python setup.py bdist_wheel # create source tar.gz file in /dist
# twine upload --skip-existing dist/* # upload package to pypi