Comments (9)
I think, in fact, that this should be the only option (like in yarn) — Pipfile should always be up-to-date with installed packages. This is only an IMHO, though.
from pipfile.
@iamale: I, for one, would not like to see that behavior.
For example, let's say I'm working on a project that has some dependencies. I have an existing Pipfile
that is aligned with those dependencies. Now I go ahead and install something like IPython for exploring my environment.
I don't want IPython listed in my dependencies. I don't even want it listed in my development or testing dependencies since I'm the only one using it. It should be perfectly acceptable to have packages installed into your environment that aren't reflected in the Pipfile
.
from pipfile.
Since #47, this is mostly simpler to implement now. The package can be added pinned to the installed version.
Maybe allow --save
to take an argument - the group to add the package into (default, dev etc)?
from pipfile.
@iamale that would be too much of a departure from current pip behavior, in my opinion.
from pipfile.
Yes please.
Unfortunately, this is only possible if Pipfile
(not only Pipfile.lock
) uses a parseable standard format and there exists a library that supports lossless editing (i.e. load->edit->save while preserving comments and whitespace). Similar to #8, and this would also solve #9 to some extend.
from pipfile.
Pipfiles are to be manually written, not generated.
from pipfile.
i will think about it, though. the lockfile being always up-to-date is the important mechanism here.
from pipfile.
Pipenv does this.
from pipfile.
Pipenv does this.
Let me rephrase that. Use pipenv install <package_name>
, not pip install <package_name>
for the equivalent of npm install <package_name>
(--save
is optional now with npm and implied by default).
from pipfile.
Related Issues (20)
- Link additional Pipfiles from root one
- Skip lock on a single dependency HOT 4
- Pipfile.lock() is not idempotent
- Security Vulnerability Alerts (in examples/Pipfile.lock) HOT 5
- Pipenv take wrong Pipfile
- AttributeError while using inject_environment_variables function
- typo in line 136
- Rename 'master' branch to 'main' HOT 3
- pip2 install python
- - [ ] @monkeyhammercopiseded #165 HOT 5
- pipfile-spec in Pipfile
- Docs url is unreachable
- Publish a wheel for `pipfile`
- how to specific version in extras of pipfile?
- Support git+ssh source package repositroy
- ااا
- http://example.edu/tt
- Ggg
- how to add dependencies from other sources instead of pypi? HOT 1
- OSS-Fuzz Integration Inquiry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipfile.