Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 666 Bytes

CONTRIBUTING.md

File metadata and controls

52 lines (35 loc) · 666 Bytes

Contributing guidelines

This package has been created using python 3.11.6.

Creating environment with pyenv

pyenv install 3.11.6
pyenv virtualenv 3.11.6 django-reversion-rest-framework
pyenv local django-reversion-rest-framework
pip install -e .
pip install -r requirements_dev.txt

Fixing code style

make style-fix

Running tests

tests/manage.py test tests
# or
make style-check
make test

Build the package

rm -rf dist
pip install --upgrade build
python -m build

Publish test package

twine upload --repository testpypi dist/*

Publish official package

twine upload dist/*