Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.09 KB

File metadata and controls

52 lines (33 loc) · 1.09 KB

full-python-lib

testing: pytest | tox-conda linting: pylint Imports: isort

Introduction

Python repository where common libraries and tools are pre-configured with automated testing.

Usage

hello-world

prints Hello World

Notes

Some notes

Test & Build

  1. Test with tox

    tox
    
  2. Build pypi package

    python -m build
    
  3. Generate Recipe with grayskull (to be replaced with "rattler-build generate-recipe")

    grayskull pypi --strict-conda-forge .\dist\my_package-0.1.0.tar.gz
    
  4. Modifying Recipe for rattler-build

    rattler-build build -r .\path\to\recipe.yaml
    
  5. Clean up

    mamba remove --all -p .\.tox\.package\
    mamba remove --all -p .\.tox\other-envs\