Skip to content
Snippets Groups Projects
  • Andreas Tolfsen's avatar
    50f2bea9
    build: add shorthands for interacting with the build system · 50f2bea9
    Andreas Tolfsen authored
    We have a bootstrapping problem on most operating systems because
    the Poetry build system is not available as a distribution package.
    This is a problem for some users because it hinders developer
    productivity and automation.
    
    This introduces a Makefile wrapper that installs Poetry into a venv
    (under ./venv/ by default, or configurable with the VENV environment
    variable).  Various tasks can be added to this Makefile so one can
    easily interact with the build system without first having to
    activate the venv.  This is useful for development environments
    where you do not have access to an interactive terminal.
    
    It is important to note that the Makefile is not actually a dependent
    in the build process.  Using "poetry build", or any compatible
    Python build system, should still work.  The Makefile is, then,
    merely a set of shorthand helpers to make development somewhat more
    enjoyable.
    
    Fixes: GREG-12
    50f2bea9
    History
    build: add shorthands for interacting with the build system
    Andreas Tolfsen authored
    We have a bootstrapping problem on most operating systems because
    the Poetry build system is not available as a distribution package.
    This is a problem for some users because it hinders developer
    productivity and automation.
    
    This introduces a Makefile wrapper that installs Poetry into a venv
    (under ./venv/ by default, or configurable with the VENV environment
    variable).  Various tasks can be added to this Makefile so one can
    easily interact with the build system without first having to
    activate the venv.  This is useful for development environments
    where you do not have access to an interactive terminal.
    
    It is important to note that the Makefile is not actually a dependent
    in the build process.  Using "poetry build", or any compatible
    Python build system, should still work.  The Makefile is, then,
    merely a set of shorthand helpers to make development somewhat more
    enjoyable.
    
    Fixes: GREG-12