finish setup
This commit is contained in:
parent
b199ddc8ac
commit
9f3cb6f6d9
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import sys
|
import sys
|
||||||
# from connapp import connapp
|
from connapp import connapp
|
||||||
# from configfile import configfile
|
from configfile import configfile
|
||||||
# from core import node
|
from core import node
|
||||||
from conn import *
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
conf = configfile()
|
conf = configfile()
|
||||||
|
10
conn/app.py
Normal file
10
conn/app.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import sys
|
||||||
|
from conn import *
|
||||||
|
|
||||||
|
def main():
|
||||||
|
conf = configfile()
|
||||||
|
connapp(conf, node)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(main())
|
4
setup.py
4
setup.py
@ -1,7 +1,7 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
VERSION = '2.0.3'
|
VERSION = '2.0.5'
|
||||||
DESCRIPTION = 'Conn is a SSH/Telnet connection manager and automation module'
|
DESCRIPTION = 'Conn is a SSH/Telnet connection manager and automation module'
|
||||||
|
|
||||||
here = pathlib.Path(__file__).parent.resolve()
|
here = pathlib.Path(__file__).parent.resolve()
|
||||||
@ -32,7 +32,7 @@ setup(
|
|||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'conn=conn.__main__:main',
|
'conn=conn.app:main',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user