<commit_before>How to do releases
------------------

Setup
=====

Add the following to ``~/.pypirc`` file

.. code-block:: ini

    [distutils]
    index-servers =
        gogo

    [gogo]
    repository = https://pypi.example.com
    username = username
    password = <PASSWORD>

Upload Release
==============

When releasing a new version, the following needs to occur

-  Update version in ``setup.py``
-  Ensure all test via ``tox`` pass

Once that is taken care of, execute the following:

.. code-block:: bash

    $ python setup.py bdist_wheel upload -r gogo<commit_msg>docs: Update releasing workflow<commit_after>How to do releases
------------------

Setup
=====

Add the following to ``~/.pypirc`` file

.. code-block:: ini

    [distutils]
    index-servers =
        gogo

    [gogo]
    repository = https://pypi.example.com
    username = username
    password = <PASSWORD>

Upload Release
==============

When releasing a new version, the following needs to occur:

#. Add version Tag

   .. code:: bash

      git tag -a #.#.#
      git push --tags

#. Ensure all test via ``tox`` pass
#. Generate and upload the package

   .. code:: bash

      python setup.py bdist_wheel upload -r gogo
{'fraction_non_alphanumeric': 0.1564569536423841, 'fraction_numerical': 0.0, 'mean_word_length': 2.4444444444444446, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6221006', 'n_tokens_mistral': 376, 'n_tokens_neox': 351, 'n_words': 129}