rustpy
In what follows python
is an alias for python3.7
or pypy3.7
or any later version (python3.8
, pypy3.8
and so on).
Installation
Install the latest pip
& setuptools
packages versions
User
Download and install the latest stable version from PyPI
repository
Developer
Download the latest version from GitHub
repository
Install
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
where $CATEGORY
is the target version number category name, possible
values are patch
/minor
/major
.
Bump version
This will set version to major.minor.patch-alpha
.
Release
Test bumping version
Bump version
This will set version to major.minor.patch
.
Running tests
Install dependencies
Plain
Inside Docker
container:
- with
CPython
- with
PyPy
Bash
script:
-
with
CPython
or
-
with
PyPy
PowerShell
script:
- with
CPython
or.\run-tests.ps1
.\run-tests.ps1 cpython
- with
PyPy
.\run-tests.ps1 pypy