4 ms·
And since this Pipfile is just a bunch of function calls, why can't it just be put in setup.py? Or is the idea to eventually get rid of setup.py?
by Sean1708 10y ago
And since this Pipfile is just a bunch of function calls, why can't it just be put in setup.py? Or is the idea to eventually get rid of setup.py?
- nchammas 10y ago> And since this Pipfile is just a bunch of function calls That hasn't been settled yet. It's being actively discussed [0]. > Or is the idea to eventually get rid of setup.py? Yes, a replacement for setup.py has already been agreed on in PEP 518 [1]. It's called pyproject.toml. [0] https://github.com/pypa/pipfile/issues/10 https://github.com/pypa/pipfile/issues/10 [1] https://www.python.org/dev/peps/pep-0518/ https://www.python.org/dev/peps/pep-0518/
- theptip 10y agoThat PEP leads down an interesting path -- hadn't realized there was a completely new packaging tool called "flit" that's aiming to be much more lightweight than setuptools. https://pypi.python.org/pypi/flit https://pypi.python.org/pypi/flit Looks quite nice, a flat .ini file for specifying deps, though it only builds wheels.