Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Latest commit

 

History

History
49 lines (38 loc) · 996 Bytes

RELEASING.md

File metadata and controls

49 lines (38 loc) · 996 Bytes

Distributing gnlpy

Distributing gnlpy makes it easier for people to install gnlpy in their python environment using pip.

This document explains the process to build a new package.

Requirements

pip install twine wheel

or

make deps

Building the package

Before building a new package:

  • change the version number in setup.py.
  • update the CHANGELOG.md
  • tag the release in github

We build a wheel package as this is pure python module. It is made universal via settings in setup.cfg:

python setup.py bdist_wheel

or

make build

Upload to PyPI

To upload to PyPI we use twine. First make sure you have an account.

twine upload dist/gnlpy-version-py2.py3-none-any.whl

or

make upload

References: