Skip to main content
6 events
when toggle format what by license comment
Nov 19, 2019 at 14:32 comment added Iguananaut "if you are using PEP 517" Except most people aren't. It's still provisional, and is barely even mentioned in packaging.python.org . It's not something you would have unless you know to go looking for it. If you just want setuptools to work as it always used to this is correct.
Nov 19, 2019 at 13:58 comment added Paul It actually is true. setuptools doesn't require a setup.py file if you are using PEP 517.
Nov 9, 2019 at 23:03 comment added Iguananaut Yes, but that was based on a misunderstanding that writing a declarative setup.cfg means that a setup.py isn't necessary anymore to use setuptools, which isn't true. Just because the title of the question is misleading doesn't mean the answer is. They wrote in the body of the question "So how should you actually build the .tar.gz file using setuptools?" which this answers correctly.
Nov 8, 2019 at 17:48 comment added platypus The question title is "How to build a source distribution without using setup.py file?" This answer seems to just demonstrate "here's how to recreate the same setup.py file that you've just deleted", which is not useful.
Nov 8, 2019 at 9:42 comment added Iguananaut Not sure why this is being downvoted; it's basically correct even if there are other solutions.
Nov 7, 2019 at 17:40 history answered Iguananaut CC BY-SA 4.0