Skip to content

Commit cbd415b

Browse files
author
Bart Hazen
committed
Correct typo in entry point.
1 parent d17f1e0 commit cbd415b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/SetupPy/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ export default class SetupPy extends React.Component {
113113
if (this.state.entrypoint) {
114114
code.push(` entry_points={`);
115115
code.push(` "console_scripts": [`);
116-
code.push(` "` + this.state.packageName + `=` + this.state.packageName + `.__main__.main",`)
117-
code.push(` ]},`);
116+
code.push(` "` + this.state.packageName + `=` + this.state.packageName + `.__main__:main",`)
117+
code.push(` ]`);
118+
code.push(` },`);
118119
}
119120
if (this.state.classifiers.length > 0) {
120121
code.push(` classifiers=[`);

0 commit comments

Comments
 (0)