Improved setup.py
This commit is contained in:
parent
aa90adfd48
commit
d76bf45645
@ -0,0 +1,2 @@
|
||||
python setup.py install # for install
|
||||
python setup.py sdist bdist # for build
|
@ -19,7 +19,7 @@ setuptools.setup(
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'cpl = sh_edraft.cli.cpl_cli:main'
|
||||
'cpl = sh_edraft.cli.cpl_cli:CPLCli.main'
|
||||
]
|
||||
}
|
||||
)
|
||||
|
@ -1,8 +1,5 @@
|
||||
class CPLCli:
|
||||
def main(self):
|
||||
|
||||
@staticmethod
|
||||
def main():
|
||||
print('Hello world')
|
||||
|
||||
|
||||
def main():
|
||||
cli = CPLCli()
|
||||
cli.main()
|
||||
|
Loading…
Reference in New Issue
Block a user