Skip to content

ES-Nix/poetry2nix-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example, work in progress

https://stackoverflow.com/a/59316578

Really cool: https://stackoverflow.com/a/67329452

nix develop
nix shell nixpkgs#poetry --command poetry build --format=wheel
nix develop
poetry build --format=wheel
podman \
build \
--file Containerfile \
--tag poetry:0.0.1
podman \
run \
--interactive=true \
--tty=true \
--rm=true \
--user='0' \
--volume="$(pwd)":/code:rw \
--workdir=/code \
poetry:0.0.1 \
bash \
-c \
"python -c 'from my_package.log_revision import start; start()'"

TODO:

About the include system: https://stackoverflow.com/a/66437801 https://python-poetry.org/docs/pyproject/#include-and-exclude

About

Examples of usage of nix + flakes + poetry2nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published