Skip to content

Clean up the main() function#32

Merged
jmchilton merged 2 commits intomasterfrom
clean_main
Apr 7, 2017
Merged

Clean up the main() function#32
jmchilton merged 2 commits intomasterfrom
clean_main

Conversation

@bgruening
Copy link
Copy Markdown
Member

It seems that the current setup.py setup needs to have a clean main() function.
Anyone know what is the preferred Python way to handle such a setup? I have seen many projects that writes the bin/* on there own.

@bgruening bgruening mentioned this pull request Apr 6, 2017
@jmchilton
Copy link
Copy Markdown
Member

@bgruening For what it is worth - I prefer this version to previous. I'm +1 on this as is but if you want to spend more time coming up with a best practice Python standard let me know.

@bgruening
Copy link
Copy Markdown
Member Author

@jmchilton I'm fine with this. It was a little bit unexpected to have a main() function without parameter, I was just wondering if this is the best-practice or if there is anything else.
Please feel free to merge and release a new version :)

@bgruening
Copy link
Copy Markdown
Member Author

Thanks!!!

@jmchilton jmchilton merged commit 3520a93 into master Apr 7, 2017
@jmchilton
Copy link
Copy Markdown
Member

@bgruening bgruening deleted the clean_main branch April 9, 2017 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants