Skip to content

The multi-vector-simulator is not available on pypi.org #588

@Bachibouzouk

Description

@Bachibouzouk

TODOS:

  • publish package on pypi after Rename repository and package #587 is merged into dev and a new release is produced (v0.5.0) on master
  • Add the how-to-publish protocol in CONTRIBUTING.md

Note: uploading of this package on test.pypi.org was already performed successfully :
pip install -i https://test.pypi.org/simple/ multi-vector-simulator --no-deps
Then open a python console and try
>>>from multi_vector_simulator import cli

Update the tools to build the package
python3 -m pip install --upgrade setuptools wheel

Append "rc1" to the version_num variable in the file src/multi_vector_simulator/version.py before you make the real release (without rc1, which stands for "Release Candidate 1"). If you notice some error in the uploaded package, fix them and bump up "rc1" to "rc2" until you don't see any more mistakes, then remove "rcX" from version_num to have the real release.

Build the package locally
python3 setup.py sdist bdist_wheel

Checkout the credentials of our [email protected] account on https://pypi.org

Update the tool to upload the package
python3 -m pip install --user --upgrade twine
twine upload dist/*
You will be prompted for your credentials, enter "token" for username and your pypi token for password.

These steps were taken from the official help for python packaging

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions