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):
|
||||
print('Hello world')
|
||||
|
||||
|
||||
@staticmethod
|
||||
def main():
|
||||
cli = CPLCli()
|
||||
cli.main()
|
||||
print('Hello world')
|
||||
|
Loading…
Reference in New Issue
Block a user