Add basic logic for creating a module using flit.
This commit is contained in:
parent
c732dd963c
commit
409e6152ae
4 changed files with 30 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -160,3 +160,5 @@ cython_debug/
|
||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
# Virtual env
|
||||||
|
ve/
|
||||||
|
|
2
pnpdevice/__init__.py
Normal file
2
pnpdevice/__init__.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"Software for controlling a pool and pump device."
|
||||||
|
__version__ = "0.1"
|
2
pnpdevice/main.py
Normal file
2
pnpdevice/main.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
def main():
|
||||||
|
print("Hello, world")
|
24
pyproject.toml
Normal file
24
pyproject.toml
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue