build: add basic build infrastructure
This commit is contained in:
parent
2a92a330c7
commit
ef0108ecd0
|
@ -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)
|
context = WeegeeContext(config)
|
||||||
sys.exit(args.func(parser, args, context))
|
sys.exit(args.func(parser, args, context))
|
||||||
|
|
||||||
|
# isn't this a tautology?
|
||||||
main()
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
Loading…
Reference in New Issue