diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..08c3564 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +docs-site/ +docs/ +uv.lock +.venv/ diff --git a/pyproject.toml b/pyproject.toml index bfe622d..e9961f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,14 +6,13 @@ readme = "README.md" license = "MIT" requires-python = ">=3.10" authors = [ - {name = "zleffke", email = ""}, + {name = "zleffke"}, {name = "Ryan Malloy", email = "ryan@supported.systems"}, ] keywords = ["gnuradio", "sdr", "sarsat", "cospas", "beacon", "search-rescue"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Communications :: Ham Radio", ] @@ -31,4 +30,8 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] -where = ["python"] +where = ["src"] + +[tool.setuptools] +# Exclude non-package directories from sdist +exclude-package-data = {"*" = ["docs-site/**", "docs/**"]} diff --git a/python/sarsat/__init__.py b/src/sarsat/__init__.py similarity index 100% rename from python/sarsat/__init__.py rename to src/sarsat/__init__.py diff --git a/python/sarsat/biphase_l_decode_bb.py b/src/sarsat/biphase_l_decode_bb.py similarity index 100% rename from python/sarsat/biphase_l_decode_bb.py rename to src/sarsat/biphase_l_decode_bb.py diff --git a/python/sarsat/pds_frame_sync.py b/src/sarsat/pds_frame_sync.py similarity index 100% rename from python/sarsat/pds_frame_sync.py rename to src/sarsat/pds_frame_sync.py diff --git a/python/sarsat/sarp_msg_extract.py b/src/sarsat/sarp_msg_extract.py similarity index 100% rename from python/sarsat/sarp_msg_extract.py rename to src/sarsat/sarp_msg_extract.py