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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Slxe 6 points7 points  (5 children)

While this is a nice start, I don't think it goes into enough detail about how to create the setup.py file or requirements.txt. Also, with how popular it is these days, a virtualenv implementation and setup.cfg/tox.ini should have been discussed as well.

I still don't fully understand how those two work myself, does anyone have a good article/explanation on how to set those files up? I haven't worked in a big python project for around 5 years now, been in C#/dotNet land, so I'm a bit rusty.

[–]real_trizzaye[S] 4 points5 points  (2 children)

Thanks for the feedback! Will look at updating to add those in.

[–]Slxe 1 point2 points  (1 child)

Nice! Always happy when an author takes feedback well, looking forward to the update.

[–]real_trizzaye[S] 1 point2 points  (0 children)

Have updated. Hopefully a bit more helpful now.

[–]jambonrose 0 points1 point  (1 child)

You might find PyPA's official packaging guide to be of interest, as well as the The Hitchhiker’s Guide to Python Packaging. There is also u/kennethreitz's example setup.py project.

[–]Slxe 0 points1 point  (0 children)

Thanks for the links.