Packaging
=========

https://packaging.python.org/tutorials/packaging-projects/

* Иногда для применения некоторых настроек билда нужно удалить старые папки билдов

1. Create .pypirc
    C:\Users\v.kaukin\.pypirc
    https://docs.python.org/3/distutils/packageindex.html#pypirc

2. Install/update build libs:
    C:\python\venv\imap_tools\Scripts\pip install --upgrade -r C:\kvk\develop\Python\imap_tools\docs\build-requirements.txt

3. Generating distribution archives
    cd C:\kvk\develop\Python\imap_tools\
    C:\python\venv\imap_tools\Scripts\python.exe C:\kvk\develop\Python\imap_tools\setup.py sdist bdist_wheel

4. Check the distribution archives:
    C:\python\venv\imap_tools\Scripts\python.exe -m twine check dist/*

5. Uploading the distribution archives:
    C:\python\venv\imap_tools\Scripts\python.exe -m twine upload dist/*
