This commit is contained in:
Marc Beninca 2024-02-17 20:05:31 +01:00
parent eaf2534dca
commit c6efc9b90b
3 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,7 @@
__version__ = '0.0.0' __version__ = '0.0.0'
import sys
import rwx.log import rwx.log
log = rwx.log.get_logger(__name__) log = rwx.log.get_logger(__name__)
@ -28,3 +30,8 @@ class Build:
self.init() self.init()
self.build() self.build()
self.squash() self.squash()
def main():
_, output_root = sys.argv
print(output_root)

View file

@ -1,10 +1,6 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
import sys from ofsp import main
def main():
_, output_root = sys.argv
if __name__ == '__main__': if __name__ == '__main__':

View file

@ -26,7 +26,7 @@ readme = 'readme.md'
requires-python = '>= 3.10' requires-python = '>= 3.10'
[project.scripts] [project.scripts]
# command = 'package.module:function' ofsp = 'ofsp:main'
[project.urls] [project.urls]