question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for script hooks

See original GitHub issue

npm and yarn execute scripts with special names like postinstall and so on after/before several actions. Pipenv should do the same.

Is your feature request related to a problem? Please describe.

Our django project has some dependencies, that have to be installed using yarn.

Describe the solution you’d like

It was nice, if pipenv installs those dependcies automatically by executing a postinstall script, that calls yarn install.

Describe alternatives you’ve considered

Otherwise I have to run pipenv install and yarn install.


$ pipenv --support
Error: no such option: --support
$ pipenv --version
pipenv, version 11.10.4

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:27
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

11reactions
uranusjrcommented, Sep 3, 2018

I am strongly -1 to this. npm’s magic script names are asking for trouble, and completely against Python’s preference to readability and obviousness. I am indifferent toward hooks as an idea (although I suspect Kenneth would object), but npm’s approach is not a good fit.

In any case, however, consider submitting a PEEP to describe your suggestion, and it will be discussed accordingly 😃

6reactions
uranusjrcommented, Jun 14, 2019

I kind of feel that this kind of (install) hooks should be standardised in package metadata. Maybe it would be a good idea to raise this to pip, or distutils-sig for more general consideration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

useScript React Hook - useHooks
This hook makes it super easy to dynamically load an external script and know when its loaded. This is useful when you need...
Read more >
Script Hook V INSTALL and REPLACE to fix Critical Error in ...
How to install Script Hook V Fast and Easy install and YES it still works in 2022! Helps with Critical Error in GTA...
Read more >
How to install and update Scripthookv & ScripthookDotNet ...
How to install and update Scripthookv & ScripthookDotNet (2020) GTA ... video: Script Hook V: http://bit.ly/2JZ70MQ Community Script Hook V ...
Read more >
How to Install Script Hook V and Script Hook V Dot ... - YouTube
Title: How to Install Script Hook V and Script Hook V Dot Net for GTA 5 (GTA Gamer)Welcome to GTA Gamer.In this video,...
Read more >
Writing Hook Scripts - Atlassian Developer
You can write hook scripts in any scripting language. Their format is generally a first line consisting of a shabang or #! ,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found