Skip to content

prehensilecode/python-packaging-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample Python module.

Following the Python Packaging Tutorial

EXCEPT: switch to using poetry instead of hatchling

Added features:

  • module-scope "constant"
  • command-line script/entrypoint get_rate

Build instructions

  1. Requires
  • build
  • poetry
  1. poetry build
  2. python3 -m pip install -U ./dist/foobar-0.0.X-py3-none-any.whl
  3. Lock requirements: poetry lock ➡ generates poetry.lock file