build: add basic build infrastructure

main
Shiz 2 years ago
parent 2a92a330c7
commit ef0108ecd0
  1. 3
      pyproject.toml
  2. 10
      setup.cfg
  3. 5
      weegee/__main__.py

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 40.9.0"]
build-backend = "setuptools.build_meta"

@ -0,0 +1,10 @@
[metadata]
name = weegee
version = 0.1.0
[options]
packages = weegee
[options.entry_points]
console_scripts =
weegee = weegee.__main__:main

@ -447,5 +447,6 @@ def main():
context = WeegeeContext(config)
sys.exit(args.func(parser, args, context))
main()
# isn't this a tautology?
if __name__ == '__main__':
main()

Loading…
Cancel
Save