Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.19 KB

RELEASING.md

File metadata and controls

40 lines (28 loc) · 1.19 KB

Creating a new release

This document is only relevant for maintainers of fbpic. It explains how to create a new release. In future versions of this packages, some of the steps below will be automatized.

Preparing your environment for a release

Make sure that your local environment is ready for a full release on PyPI and conda. In particular:

  • you should install the package twine)
  • you should have a registered account on PyPI and test PyPI, and your $HOME should contain a file .pypirc which contains the following text:
[distutils]
index-servers=
	pypi
	testpypi

[pypi]
username = <yourPypiUsername>

[testpypi]
repository: https://test.pypi.org/legacy/
username: <yourPypiUsername>

Creating a release on Github

  • Make sure that the version number in fbpic/__init__.py corresponds to the new release, and that the corresponding changes have been documented in CHANGELOG.md.

  • Create a new release through the graphical interface on Github

Uploading the package to PyPI

The code will be automatically uploaded to PyPI upon creation of a new release on Github.