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.

How to set default configuration of Pipfile [[source]]

See original GitHub issue

I dont find set defaults [[source]] in Pipfile

create Pipfile is pipenv install xxx, I find create Pipfile and dont install: pipenv --three but I in gfw pypi is not access

Describe your environment
  1. linux x86_64
  2. Python version: 3.6.3
  3. Pipenv version: 8.3.1

suggest

  1. add pipenv init create virtualenv and Pipenv file, dont install package
  2. add [script] in Pipenv file, and node package.json same

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

20reactions
hynekcommented, Jan 6, 2018

I think the most important one by far is the possibility to have a default index-server. Most people who have Python as part of their infrastructure run their own PyPI for both performance (it’s no coincidence that the person opening this issue is from China I think) and the ability to have private packages.

Basically honor env PIP_INDEX_URL and/or index-url in pip.conf.

1reaction
hynekcommented, Nov 15, 2017

Is there a practical reason why pipenv ignores the default global or did just nobody get around to it? It’s super tedious to bootstrap projects that contain packages that only exist in our private index.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic Usage of Pipenv - Read the Docs
--dev — Install both develop and default packages from Pipfile . · --system — Use the system pip command rather than the one...
Read more >
How to change the [[source]] for the Pipfile for better usage of ...
Check this page, section Specifying Indexes. The name is some field you define arbitrary and use with the index key to specify where...
Read more >
Configuration - pip documentation v22.3.1
pip config command, which helps manage pip's configuration. Configuration Files#. Configuration files can change the default values for command line option.
Read more >
Advanced Usage of Pipenv — pipenv 11.7.2 documentation
Here's an example Pipfile , which will only install pywinusb on Windows systems: [[source]] url = "https://pypi.python.org/simple" verify_ssl = true name ...
Read more >
Configure a Pipenv environment | PyCharm Documentation
Create an environment using the Pipfile · Open any directory with your source files that contains the Pipenv file: select File | Open...
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