Add basic logic for creating a module using flit.

This commit is contained in:
Eli Ribble 2023-05-12 14:07:58 -07:00
parent c732dd963c
commit 409e6152ae
4 changed files with 30 additions and 0 deletions

2
.gitignore vendored
View File

@ -160,3 +160,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Virtual env
ve/

2
pnpdevice/__init__.py Normal file
View File

@ -0,0 +1,2 @@
"Software for controlling a pool and pump device."
__version__ = "0.1"

2
pnpdevice/main.py Normal file
View File

@ -0,0 +1,2 @@
def main():
print("Hello, world")

24
pyproject.toml Normal file
View File

@ -0,0 +1,24 @@
[project]
name = "pnpdevice"
authors = [
{ name = "Eli Ribble", email = "eli@theribbles.org"}
]
dependencies = [
"zeroconf"
]
dynamic = ["version", "description"]
[project.scripts]
pnpdevice = "pnpdevice:main.main"
[project.urls]
Home = "https://source.theribbles.org/eliribble/pnpdevice"
[project.optional-dependencies]
dev = [
"pre-commit",
]
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]