Skip to content

Commit 4ba6c21

Browse files
Better explanation of version handling in the README.
1 parent 15ee8a2 commit 4ba6c21

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ don't specify a version, it will install the latest one from PyPI.
236236
For example, you do ``fades -d foobar`` and it installs foobar in
237237
version 7. At some point, there is a new version of foobar in PyPI,
238238
version 8, but if do ``fades -d foobar`` it will just reuse previously
239-
created virtualenv, with version 7, not using the new one!
239+
created virtualenv, with version 7, not downloading the new version and
240+
creating a new virtualenv with it!
240241

241242
You can tell fades to do otherwise, just do::
242243

@@ -245,9 +246,13 @@ You can tell fades to do otherwise, just do::
245246
...and *fades* will search updates for the package on PyPI, and as it will
246247
found version 8, will create a new virtualenv using the latest version.
247248

248-
You can even use this parameter when specifying the package version. Say
249-
you call ``fades -d foobar==7``, *fades* will install version 7 no matter
250-
which one is the latest. But if you do::
249+
From this moment on, if you request ``fades -d foobar`` it will bring the
250+
virtualenv with the new version. If you want to get a virtualenv with
251+
not-the-latest version for any dependency, just specify the proper versions.
252+
253+
You can even use the ``--check-updates`` parameter when specifying the package
254+
version. Say you call ``fades -d foobar==7``, *fades* will install version 7 no
255+
matter which one is the latest. But if you do::
251256

252257
fades -d foobar==7 --check-updates
253258

@@ -270,6 +275,7 @@ Examples:
270275

271276
``fades --python-options=-B foo.py``
272277

278+
273279
Setting options using config files
274280
----------------------------------
275281

@@ -327,6 +333,7 @@ ie, add a cron task that perform this command::
327333

328334
fades --clean-unused-venvs=42
329335

336+
330337
Some command line examples
331338
--------------------------
332339

0 commit comments

Comments
 (0)