Skip to content

Instantly share code, notes, and snippets.

@denis-bz
Created August 9, 2013 14:54
Show Gist options
  • Save denis-bz/6194276 to your computer and use it in GitHub Desktop.
Save denis-bz/6194276 to your computer and use it in GitHub Desktop.
conda-requires: list "requires" of the 100-odd python packages in anaconda
#!/bin/sh
# conda-requires: list "requires" of the 100-odd packages in anaconda,
# http://docs.continuum.io/anaconda/pkgs.html
# gist.github.com/denis-bz
[[ $1 ]] && cd $1 && shift # .../anaconda/conda-meta
echo "# ${0##*/} $PWD `/bin/date '+%e %h %Y'` " # 9 Aug 2013
for file in *.json
do
printf "%s\t" "$file"
[[ $file == anaconda* ]] && echo "" && continue
sed -n '/^ "requires": \[$/,/^ *]/ p' $file |
egrep -v '^ *"?(requires|python|numpy|\])' |
tr -d '",\n' # one long line
echo ""
done
# conda-requires /opt/local/anaconda-1.6/conda-meta 9 Aug 2013
_license-1.1-py27_0.json
anaconda-1.6.1-np17py27_0.json
astropy-0.2.3-np17py27_0.json
atom-0.2.3-py27_0.json
binstar-0.1.2-py27_0.json keyring 1.4 pyyaml 3.10 requests 1.2.3
biopython-1.61-np17py27_0.json
bitarray-0.8.1-py27_0.json
boto-2.9.6-py27_0.json
casuarius-1.1-py27_0.json
chaco-4.2.1.dev-np17py27_0.json imaging 1.1.7 pyside 1.1.2
conda-1.7.2-py27_0.json pycosat 0.6.0 pyyaml 3.10
cubes-0.10.2-py27_2.json jinja2 2.6 sqlalchemy 0.8.1 werkzeug 0.9.1
curl-7.30.0-1.json zlib 1.2.7
cython-0.19.1-py27_0.json
dateutil-2.1-py27_1.json six 1.3.0
distribute-0.6.45-py27_0.json
docutils-0.10-py27_0.json
dynd-python-0.4.0-np17py27_0.json libdynd 0.4.0
enaml-0.7.6-py27_0.json atom 0.2.3 casuarius 1.1 ply 3.4 pyside 1.1.2
flask-0.10.1-py27_0.json itsdangerous 0.21 jinja2 2.6 werkzeug 0.9.1
freetype-2.4.10-1.json
gevent-0.13.8-py27_0.json greenlet 0.4.0 libevent 2.0.20
gevent-websocket-0.3.6-py27_2.json gevent 0.13.8
gevent_zeromq-0.2.5-py27_2.json gevent 0.13.8 pyzmq 2.2.0.1
greenlet-0.4.1-py27_0.json
grin-1.2.1-py27_1.json
h5py-2.1.1-np17py27_0.json hdf5 1.8.9
hdf5-1.8.9-1.json
imaging-1.1.7-py27_2.json freetype 2.4.10 jpeg 8d zlib 1.2.7
ipython-0.13.2-py27_0.json
ipython-notebook-0.13.2-py27_0.json ipython 0.13.2 pyzmq 2.2.0.1 tornado 3.1
ipython-qtconsole-0.13.2-py27_0.json ipython 0.13.2 pyside 1.1.2 pyzmq 2.2.0.1
itsdangerous-0.21-py27_0.json
jinja2-2.6-py27_0.json
jpeg-8d-1.json
keyring-1.4-py27_0.json
launcher-0.1.2-py27_0.json conda 1.7.2 flask 0.10.1 gevent 0.13.8 gevent-websocket 0.3.6 pyside 1.1.2
libdynd-0.4.0-0.json
libevent-2.0.20-1.json
libnetcdf-4.2.1.1-1.json curl 7.30.0 hdf5 1.8.9 zlib 1.2.7
libpng-1.5.13-1.json
libxml2-2.9.0-1.json zlib 1.2.7
libxslt-1.1.28-1.json libxml2 2.9.0
llvm-3.2-0.json
llvmmath-0.1.0-np17py27_0.json llvmpy 0.11.3
llvmpy-0.11.3-py27_0.json llvm 3.2
lxml-3.2.1-py27_0.json libxml2 2.9.0 libxslt 1.1.28
matplotlib-1.2.1-np17py27_1.json dateutil 2.1 freetype 2.4.10 libpng 1.5.13 pytz 2013b
mdp-3.3-np17py27_0.json
meta-0.4.2.dev-py27_0.json
netcdf4-1.0.4-np17py27_0.json hdf5 1.8.9 libnetcdf 4.2.1.1 zlib 1.2.7
networkx-1.7-py27_0.json
nltk-2.0.4-np17py27_0.json pyyaml 3.10
nose-1.3.0-py27_0.json
numba-0.9.0-np17py27_0.json llvmmath 0.1.0 llvmpy 0.11.3 meta 0.4.2.dev
numexpr-2.0.1-np17py27_3.json
numpy-1.7.1-py27_0.json
pandas-0.11.0-np17py27_1.json dateutil 2.1 pytz 2013b scipy 0.12.0
pep8-1.4.5-py27_0.json
pip-1.3.1-py27_2.json distribute 0.6.36
ply-3.4-py27_0.json
psutil-0.7.1-py27_0.json
py-1.4.14-py27_0.json
pyaudio-0.2.7-py27_0.json
pycosat-0.6.0-py27_0.json
pycparser-2.9.1-py27_0.json
pycrypto-2.6-py27_0.json
pycurl-7.19.0-py27_2.json curl 7.30.0 zlib 1.2.7
pyflakes-0.7.2-py27_0.json
pygments-1.6-py27_0.json
pyparsing-1.5.6-py27_0.json
pysal-1.5.0-np17py27_1.json scipy 0.12.0
pysam-0.6-py27_0.json
pyside-1.1.2-py27_1.json qt 4.7.4 shiboken 1.1.2
pytables-2.4.0-np17py27_0.json hdf5 1.8.9 numexpr 2.0.1
pytest-2.3.5-py27_0.json py 1.4.14
python-2.7.5-2.json readline 6.2 sqlite 3.7.13 tk 8.5.13 zlib 1.2.7
python.app-1.2-py27_0.json
pytz-2013b-py27_0.json
pyyaml-3.10-py27_0.json yaml 0.1.4
pyzmq-2.2.0.1-py27_1.json zeromq 2.2.0
qt-4.7.4-0.json
readline-6.2-1.json
redis-2.6.9-0.json
redis-py-2.7.2-py27_0.json redis 2.6.9
requests-1.2.3-py27_0.json
rope-0.9.4-py27_0.json
scikit-image-0.8.2-np17py27_1.json scipy 0.12.0
scikit-learn-0.13.1-np17py27_0.json scipy 0.12.0
scipy-0.12.0-np17py27_0.json
shiboken-1.1.2-py27_0.json qt 4.7.4
six-1.3.0-py27_0.json
sphinx-1.1.3-py27_3.json docutils 0.10 jinja2 2.6
spyder-2.2.0-py27_1.json ipython 0.13.2 pygments 1.6 pyside 1.1.2 pyzmq 2.2.0.1
spyder-app-2.2.0-py27_0.json spyder 2.2.0
sqlalchemy-0.8.1-py27_0.json
sqlite-3.7.13-1.json
statsmodels-0.4.3-np17py27_1.json pandas 0.11.0 scipy 0.12.0
sympy-0.7.2-py27_0.json
tk-8.5.13-1.json
tornado-3.1-py27_0.json
werkzeug-0.9.1-py27_0.json
xlrd-0.9.2-py27_0.json
xlwt-0.7.5-py27_0.json
yaml-0.1.4-1.json
zeromq-2.2.0-1.json
zlib-1.2.7-1.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment