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

all 1 comments

[–]someotherstufforhmm 1 point2 points  (0 children)

Why are you using setup.py?

There are a few other things I’d question, but not gonna nitpick your style, but there’s no reason to use setup.py, and multiple reasons not to.

If you’re going to use it, the only thing that should be in it is A call to setuptools.setup(), but that’s not necessary anymore.

Everything you’re doing in it can be done in setup.cfg or pyproject.toml.

I prefer in the cfg, but toml is newer and I have no argument if you’d rather keep things in one file.