feat: basic telemetry collection/submission feature

This commit is contained in:
Lance Edgar 2025-08-09 12:05:18 -05:00
commit 53f599fa79
29 changed files with 1710 additions and 0 deletions

24
tasks.py Normal file
View file

@ -0,0 +1,24 @@
# -*- coding: utf-8; -*-
"""
Tasks for WuttaTell
"""
import os
import shutil
from invoke import task
@task
def release(c, skip_tests=False):
"""
Release a new version of WuttaTell
"""
if not skip_tests:
c.run('pytest')
if os.path.exists('dist'):
shutil.rmtree('dist')
c.run('python -m build --sdist')
c.run('twine upload dist/*')