Packaging
This commit is contained in:
parent
73917c0f88
commit
f1ea8871ab
|
@ -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
27
pyproject.toml
Normal 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"]
|
Loading…
Reference in New Issue
Block a user