Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.16 KB

how-publish-package-instruction.md

File metadata and controls

23 lines (22 loc) · 1.16 KB

Python package release

Публикация происходит согласно данному tutorial.

  1. Установи нужные пакеты
pip3 install twine
  1. Находясь в корне проект исполни
python publishPackageUtils/prepare-python-package.py
  1. Увеличь версию пакета в toxic-comments-detector/setup.py
  2. (Опциональный шаг) First, go to github.com and navigate to your repository. Next, click on the tab “releases” and then on “Create a new release”. Now, define a Tag verion (it is best to use the same number as you used in your setup.py version-field: v_01. Add a release title and a description (not that important), then click on “publish release”. Now you see a new release and under Assets, there is a link to Source Code (tar.gz). Right-click on this link and chose Copy Link Address. Paste this link-address into the download_url field in the setup.py file.
  3. Находясь в корне репозитория
python publishPackageUtils/publish-python-package.py