You are viewing a single comment's thread:

RE: Use nectar without using hive-nectar?

(edited)

I break it up into submodules and include the bits and pieces as needed. The easiest way to start a project with submodules is to us uv init --lib and it make the file structure modular instead of (uv init same as uv init --app) or uv init --script which is all one file.

image.png

and in pyproject i'll give a script path: e.g. synergy = synergy:main which pulls the main function out of __init__.py

image.png

by doing that it will give me an executable: in this cases .venv/bin/synergy or i can run it as a module e.g. python3 -m synergy

Although, you did just give me some ideas for post content. :)

0.00114140 BEE
1 comments

untitled.gif

0.00000000 BEE