News for hackers. Stuff that matters.
Re:Pipfile for Python by kingosticks on Tuesday November 22, 2016 @04:22AM (#13012835)
Can you give some concrete examples of the issues with using a setup.py/DSL? I've only been using python intermittently for a few years and I'm probably not exposed to these things. Am I setting myself up for a fall by using setup.py?
Re:Pipfile for Python by witten on Tuesday November 22, 2016 @10:35AM (#13014767)
Here's a setup.py that includes an interactive prompt, and thus breaks all ability to do automated installs! https://github.com/pypa/pip/issues/2732

Here's a setup.py that cannot even be imported unless another package (numpy) is already installed: https://github.com/scipy/scipy/blob/master/setup.py

I've seen setup.pys that read random files from the filesystem. I've seen setup.pys that shell out to random system commands that may or may not be installed. It's just a horrible format for what it's trying to accomplish.. because it's not a format! It's a programming language.

Re:Pipfile for Python by shakna on Tuesday November 22, 2016 @04:46AM (#13012926)
Not as such, but I've encountered setups that shell out to Inkscape, ImageMagick and other tools, and don't gracefully handle failure, sometimes to the point where the only error is "Failed to install egg".