Публикация происходит согласно данному tutorial.
- Установи нужные пакеты
pip3 install twine
- Находясь в корне проект исполни
python publishPackageUtils/prepare-python-package.py
- Увеличь версию пакета в
toxic-comments-detector/setup.py
- (Опциональный шаг) 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.
- Находясь в корне репозитория
python publishPackageUtils/publish-python-package.py