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.

Scripts section in Pipfile

See original GitHub issue

Is there any way to have a scripts section where I can put, for example:

[scripts]
start = python main.py

And then, in my terminal, I can reproduce this through the command pipenv run start.

Any thoughts on that?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:40
  • Comments:28 (16 by maintainers)

github_iconTop GitHub Comments

39reactions
kennethreitzcommented, Nov 13, 2017

FYI “npm does it” is not a good reason to do anything.

11reactions
uranusjrcommented, May 25, 2018

For the record, it is also (briefly) documented in the docs. https://docs.pipenv.org/advanced/#custom-script-shortcuts

Read more comments on GitHub >

github_iconTop Results From Across the Web

Executing pipfile scripts - pipenv - Stack Overflow
After running $ pipenv install , how can I call the tests script? I've tried the following without success: $ tests. $ pipenv...
Read more >
Advanced Usage of Pipenv - Read the Docs
Pipenv supports creating custom shortcuts in the (optional) [scripts] section of your Pipfile. You can then run pipenv run <shortcut name> in your...
Read more >
I love pipenv's custom script shortcuts - DEV Community ‍ ‍
... shortcuts in the scripts section. pipenv run will automatically load it and find the correct command to replace with. Given the Pipfile:....
Read more >
Manage dependencies using Pipfile - IntelliJ IDEA - JetBrains
The packages section is the place where you can list the packages required for your project. Note that IntelliJ IDEA suggests that you...
Read more >
Pipenv Scripts - Visual Studio Marketplace
Automatic detection and parsing of Pipfile in the workspace; Registration of all scripts listed under the [scripts] section in Pipfile ...
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