Packaging

This commit is contained in:
Samuel Sloniker 2023-05-07 18:50:21 -07:00
parent 73917c0f88
commit f1ea8871ab
2 changed files with 28 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def run(config):
con.close()
if __name__ == "__main__":
def main():
parser = argparse.ArgumentParser()
parser.add_argument("config_file")
args = parser.parse_args()

27
pyproject.toml Normal file
View File

@ -0,0 +1,27 @@
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "adsms"
version = "0.0"
description = "Send SMS aircraft alerts based on ADS-B data"
readme = "README.md"
authors = [{ name = "Samuel Sloniker", email = "sam@kj7rrv.com"}]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: GNU Affero General Public License v3",
]
dependencies = ["requests"]
requires-python = ">=3.7"
[project.urls]
Homepage = "https://git.kj7rrv.com/kj7rrv/adsms"
[project.scripts]
adsms = "adsms:main"
[tool.setuptools]
packages = ["adsms"]