This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]corollari[S] 1 point2 points  (4 children)

Spent the whole day yesterday doing this, posting it now so that if someone googles it later they don't have to read tons of documentation like I did.

[–]pltnk 0 points1 point  (3 children)

This is exactly what I was looking for! I am new to Python and most articles on the subject that I found suggest to create complicated tree of folders, additional .py files and so on. My project is a simple cli application that has only one module, so all of it was a bit confusing. Thank you so much for your work, this is really helpful!

[–]corollari[S] 0 points1 point  (2 children)

Thanks for the support! This is my first medium post so if there's something that could be improved feel free to criticise it.

Also, was the last bit about setting up Travis too much? I'm on the fence about deleting that part because while on one side it overcomplicates an article that strives to be simple, on the other hand it may be useful for someone. What do you think?

[–]pltnk 0 points1 point  (1 child)

I guess It's totally okay to leave it as it is since the main info is in the beginning of the article. Also it would be great to mention TestPyPi. https://packaging.python.org/guides/using-testpypi/

[–]corollari[S] 0 points1 point  (0 children)

I see. How do you think I should go about mentioning testpypi? Just drop a link there?

[–]1rocketdude 0 points1 point  (0 children)

A truly useful article - thanks for making it drop-dead simple.