Python is packaged into a whl file

1. Install wheel
pip install wheel;
2. Pack with instructions;

Package the project in the sdist directory according to the settings in setup.py

python setup.py sdist bdist_wheel

Note packaged, your package Road King which requires
the init .py
configuration file;
otherwise packaged, when what things are not, can create their own configuration file, which content is empty, it does not matter;

Guess you like

Origin blog.csdn.net/weixin_44887276/article/details/114362121