Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Latest commit

 

History

History
65 lines (38 loc) · 1.19 KB

python.rst

File metadata and controls

65 lines (38 loc) · 1.19 KB

Python

This package was extracted from standardlib to rkd_python, but is maintained together with RKD as part of RKD core.

Set of Python-related tasks for building, testing and publishing Python packages.

image

:py:publish

py_publish

Publish a package to the PyPI.

Example of usage:

rkd :py:publish --username=__token__ --password=.... --skip-existing --test

:py:build

py_build

Runs a build through setuptools.

:py:install

py_install

Installs the project as Python package using setuptools. Calls ./setup.py install.

:py:clean

py_clean

Removes all files related to building the application.

:py:unittest

py_unittest

Runs Python's built'in unittest module to execute unit tests.

Examples:

rkd :py:unittest
rkd :py:unittest -p some_test
rkd :py:unittest --tests-dir=../test