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'
|
__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)
|
||||||
|
|
|
@ -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__':
|
||||||
|
|
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue