requirements

Dev tools

python packaging

SHOW HN2016

78points
19comments
#494of 2,264 in 2016
Top 22%of 2016 by points

How HN took it

RoastedHalf or more of the comments are critical

0 positive, 2 neutral or asking, 1 mixed, 4 critical, out of 7 comments about the project. Thread score -0.41.

Idea: 0 for, 3 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Good idea that Python should already work this way

    From 1 comment
    • Ironically, the package to make your package requirements easier to write has additional requirements not in the core distribution :) But more seriously, good idea in thinking…
      mpdehaan2 on HN

Objections

  • setup.py and requirements.txt serve different purposes

    From 2 comments
    • This is a nice idea in theory, but setup.py and requirements.txt are not the same, and you cannot particularly generate one from the other:…
      JulianWasTaken on HN
    • Python dependency management is a hard problem, but better than most languages [citation needed]. And `pip` and `setup.py` have emerged over several years, with several…
      guitarbill on HN
  • Does not support pip options like --no-index and --find-links

    From 1 comment
    • Python dependency management is a hard problem, but better than most languages [citation needed]. And `pip` and `setup.py` have emerged over several years, with several…
      guitarbill on HN
  • Bad tagline riffing on requests

    From 1 comment
    • Python dependency management is a hard problem, but better than most languages [citation needed]. And `pip` and `setup.py` have emerged over several years, with several…
      guitarbill on HN
  • Missing license file and copyright holder

    From 1 comment
    • I see a problem with that "License is MIT". That's not how software is licensed and if the author wants this to be used, the legal part must be flawless. Who's the copyright…
      reidrac on HN

Requests

  • Support setup_requires so no copy of requirements.py is needed in the repo

    From 1 comment
    • That's fair. If you could get installation via `setup_requires` to work, so people don't need a (soon to be out-of-date) copy of `requirements.py` in their repo, that'd be a win…
      guitarbill on HN
  • Look at pbr

    From 1 comment
    • Python dependency management is a hard problem, but better than most languages [citation needed]. And `pip` and `setup.py` have emerged over several years, with several…
      guitarbill on HN

Questions

  • How to install a package that depends on this before its dependencies exist

    From 1 comment
    • How would you install a package that depended on this? You can't install it's dependencies automatically until you've got one of the dependencies installed.
      haldean on HN

Alternatives named

  • pip-tools

    From 1 comment
    • Another way to do this, that you or someone may be interested in, is by using pip-tools. You write a requirements.in text file where you list libraries by just their name, and…
      TheCowboy on HN
  • pbr

    From 1 comment
    • Python dependency management is a hard problem, but better than most languages [citation needed]. And `pip` and `setup.py` have emerged over several years, with several…
      guitarbill on HN
  • Bundler/Gemfile and project.clj

    From 1 comment
    • I wish the Python community would adopt a Bundler/Gemfile style. The project.clj concept is also a fantastic approach. Environments should just be maps of data that you can…
      whalesalad on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11328111)