main
This commit is contained in:
parent
eaf2534dca
commit
c6efc9b90b
3 changed files with 9 additions and 6 deletions
|
@ -1,5 +1,7 @@
|
|||
__version__ = '0.0.0'
|
||||
|
||||
import sys
|
||||
|
||||
import rwx.log
|
||||
|
||||
log = rwx.log.get_logger(__name__)
|
||||
|
@ -28,3 +30,8 @@ class Build:
|
|||
self.init()
|
||||
self.build()
|
||||
self.squash()
|
||||
|
||||
|
||||
def main():
|
||||
_, output_root = sys.argv
|
||||
print(output_root)
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
#! /usr/bin/env python3
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
_, output_root = sys.argv
|
||||
from ofsp import main
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -26,7 +26,7 @@ readme = 'readme.md'
|
|||
requires-python = '>= 3.10'
|
||||
|
||||
[project.scripts]
|
||||
# command = 'package.module:function'
|
||||
ofsp = 'ofsp:main'
|
||||
|
||||
[project.urls]
|
||||
|
||||
|
|
Loading…
Reference in a new issue