3 ms·
I’m quite surprised to see that setup.py has been deprecated for years. I set out to setup my first package earlier this year and after spending way too much ti
by wodenokoto 3y ago
I’m quite surprised to see that setup.py has been deprecated for years. I set out to setup my first package earlier this year and after spending way too much time trying to figure out what is recommended and why I actually settled on setup.py
I knew it was “the old” way, but didn’t realize it was abandoned.
Getting your code packaged seems way harder than developing your code.
- ketozhang 3y agoIt is not deprecated. Calling setup.py directly is (i.e., `python setup.py sdist`) Modern way of building a package is to use a build frontend. Most notably is the PyPA's build package. python -m build . Most project managers like poetry has this built-in with it's `poetry build` command.