fix setup

This commit is contained in:
fluzzi 2022-03-28 16:26:37 -03:00
parent 940f9964f7
commit 7b9bd44ae5
3 changed files with 12 additions and 7 deletions

View File

@ -5,4 +5,4 @@ from .configfile import configfile
from .connapp import connapp
__version__ = "2.0"
__all__ = [node, configfile, connapp]
__all__ = ["node", "configfile", "connapp"]

View File

@ -1,9 +1,9 @@
#!/usr/bin/env python3
import sys
from connapp import connapp
from configfile import configfile
from core import node
# from conn import *
# from connapp import connapp
# from configfile import configfile
# from core import node
from conn import *
def main():
conf = configfile()

View File

@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import pathlib
VERSION = '2.0.0'
VERSION = '2.0.2'
DESCRIPTION = 'Conn is a SSH/Telnet connection manager and automation module'
here = pathlib.Path(__file__).parent.resolve()
@ -29,5 +29,10 @@ setup(
# "Operating System :: MacOS :: MacOS X",
# "Operating System :: Microsoft :: Windows",
"Operating System :: Unix"
],
entry_points={
'console_scripts': [
'conn=conn.__main__:main',
]
}
)