Improved new console command
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
from cpl_cli.templates.template import Template
|
||||
import textwrap
|
||||
|
||||
|
||||
class Setup:
|
||||
|
||||
@staticmethod
|
||||
def get_setup_py() -> str:
|
||||
string = """\"\"\"
|
||||
string = textwrap.dedent("""\
|
||||
\"\"\"
|
||||
This file is generated by CPL CLI
|
||||
\"\"\"
|
||||
|
||||
@@ -26,6 +27,6 @@ class Setup:
|
||||
entry_points=$EntryPoints,
|
||||
package_data=$PackageData
|
||||
)
|
||||
"""
|
||||
""")
|
||||
|
||||
return Template.build_template_string(string)
|
||||
return string
|
||||
|
Reference in New Issue
Block a user