Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 1.02 KB

File metadata and controls

49 lines (43 loc) · 1.02 KB

pyutils

Common utilities for python projects

Development instructions

The project does not use the src/ layout. This means the package root is located directly in the project root.

As such you do not need to install the project in editable mode poetry add --editable ./pyutils/.
Instead, not installing the package at all will allow you to import the code directly from the project root.

  • clone the repo
  • install the dependencies
    poetry install --no-root
    
  • make changes
  • add tests and run them with
    pytest
  • commit changes
  • bump version depending on the level of changes
    bump2version patch
    bump2version minor
    bump2version major
  • push to github
    git push --follow-tags

Usage

To install from github:

pip install git+https://github.com/jorritvm/pyutils.git
or
poetry add git+https://github.com/jorritvm/pyutils.git

To install from pypi (coming soon):

pip install pyutils-jvm
or
poetry add pyutils-jvm

Author

Jorrit Vander Mynsbrugge