fades 6 released
Facundo Batista
facundobatista at gmail.com
Fri May 19 14:19:57 EDT 2017
Hello all,
We're glad to announce the release of fades 6.
fades is a system that automatically handles the virtualenvs in the
cases normally found when writing scripts and simple programs, and
even helps to administer big projects.
It will automagically create a new virtualenv (or reuse a previous
created one), installing the necessary dependencies, and execute
your script inside that virtualenv.
You only need to execute the script with fades (instead of Python) and
also mark the required dependencies. More details here:
http://fades.rtfd.org/
What's new in this release?
- Install not only from PyPI but also from remote code repositories
(GitHub, Bitbucket, Launchpad, etc) and local directories
fades -d git+https://github.com/yandex/gixy.git@v0.1.3
fades -d file://$PATH_TO_PROJECT
- Created a video to showcase the most relevant fades features
https://www.youtube.com/watch?v=BCTd_TyCm98
- Select the best virtualenv from the stored ones in the case of multiple
matching
- Added a --clean-unused-venvs option to remove all virtualenvs not
used in the last indicated days
fades --clean-unused-venvs=30
- Added a --pip-options to pass any needed parameters to the
underlying pip call
fades -d requests --pip-options="--no-cache-dir"
- Properly return a code != 0 if fades process failed in any way
- Now the virtualenv /bin path is added to the child PATH before execution
- Remove the just created virtualenv if its setup failed somehow (not
leaving unused/untracked directories)
- Issue a WARNING if fades is executed from a virtualenv (it shouldn't)
- Better behaviour when CTRL-C is sent to an interactive interpreter
running under fades
- Support missing virtualenv directories: if a virtualenv was found in
the cache check if it is valid, otherwise re-create it
- Added infrastructure for fades to be packaged and run as a Snap
snap install fades
- Better multiplatformy locking to exclude two simultaneous fades runs
messing with internal files
- Instructions to install using 'brew'
- Alert the user that the one doing background stuff is fades
- Better README and documentation in general
- Improved version description to be more standards compliant
- Other minor improvements and bug fixes
Nicolás and I want to say a big thank you to the following collaborators
that helped to improve and enhance fades in different ways for this
version (in alphabetical order):
Ariel Rossanigo
David Litvak Bruno
FaQ
Filipe Ximenes
Gera
Juan Carizza
Lucio Torre
Manuel Kaufmann
Martin Alderete
To install and enjoy fades...
- If you are in Ubuntu or Debian, you can easily install like this
(but probably won't get *latest* fades:
sudo apt-get install fades
- For not latest debian/ubuntu you have a .deb here (with checksum
and signature):
http://taniquetil.com.ar/fades/fades-latest.deb
http://taniquetil.com.ar/fades/fades-latest.deb.sha1
http://taniquetil.com.ar/fades/fades-latest.deb.asc
- Install it in Arch is very simple:
yaourt -S fades
- In any Linux if you have the Snap system:
snap install fades
- Using pip if you want:
pip3 install fades
- You can always get the multiplatform tarball and install it in the
old fashion way:
wget http://taniquetil.com.ar/fades/fades-latest.tar.gz
tar -xf fades-latest.tar.gz
cd fades-*
sudo ./setup.py install
Also have the checksum and signature, if interested:
http://taniquetil.com.ar/fades/fades-latest.tar.gz.sha1
http://taniquetil.com.ar/fades/fades-latest.tar.gz.asc
Help / questions:
- You can ask any question or send any recommendation or request
to the mailing list...
http://listas.python.org.ar/mailman/listinfo/fades
... or in the #fades IRC channel (in Freenode).
- Also, you can open an issue here (please do if you find any problem!).
https://github.com/PyAr/fades/issues/new
- The project itself is in
https://github.com/PyAr/fades
It's very easy to run latest development version:
git clone https://github.com/PyAr/fades.git
cd fades
bin/fades
Thanks in advance for your time!
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
Twitter: @facundobatista
More information about the Python-announce-list
mailing list