<commit_before>deploy: pip-requirements
	cd imagedownloader && python manage.py syncdb --noinput
	cd imagedownloader && python manage.py migrate

bin-sqlite3:
	wget http://www.sqlite.org/2013/sqlite-autoconf-3080100.tar.gz > /dev/null
	tar xvfz sqlite-autoconf-3080100.tar.gz > /dev/null
	cd sqlite-autoconf-3080100 && ./configure > /dev/null
	cd sqlite-autoconf-3080100 && make > /dev/null
	cd sqlite-autoconf-3080100 && sudo make install > /dev/null

lib-hdf5:
	wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.12.tar.gz > /dev/null
	tar xzvvf hdf5-1.8.12.tar.gz > /dev/null
	cd hdf5-1.8.12 && ./configure --prefix=/usr/local --enable-shared --enable-hl > /dev/null
	cd hdf5-1.8.12 && make -j 2 > /dev/null
	cd hdf5-1.8.12 && sudo make install > /dev/null

lib-netcdf4:
	wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.1-rc4.tar.gz > /dev/null
	tar xzvvf netcdf-4.3.1-rc4.tar.gz > /dev/null
	cd netcdf-4.3.1-rc4 && LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include sh ./configure --enable-netcdf-4 --enable-dap --enable-shared --prefix=/usr/local > /dev/null
	cd netcdf-4.3.1-rc4 && make -j 2 > /dev/null
	cd netcdf-4.3.1-rc4 && sudo make install > /dev/null

src-aspects:
	wget http://www.cs.tut.fi/~ask/aspects/python-aspects-1.3.tar.gz > /dev/null
	tar xzvvf python-aspects-1.3.tar.gz > /dev/null
	cd python-aspects-1.3 && sudo make && sudo make install > /dev/null
	cp python-aspects-1.3/aspects.py imagedownloader/aspects.py

src-postgres:
	--without-readline --without-zlib

pip-requirements: bin-sqlite3 lib-hdf5 lib-netcdf4 src-aspects
	sudo ldconfig
	pip install -r imagedownloader/requirements.txt > /dev/null<commit_msg>Makefile: remove stdout to /dev/null from pip install requirements.txt.<commit_after>deploy: pip-requirements
	cd imagedownloader && python manage.py syncdb --noinput
	cd imagedownloader && python manage.py migrate

bin-sqlite3:
	wget http://www.sqlite.org/2013/sqlite-autoconf-3080100.tar.gz > /dev/null
	tar xvfz sqlite-autoconf-3080100.tar.gz > /dev/null
	cd sqlite-autoconf-3080100 && ./configure > /dev/null
	cd sqlite-autoconf-3080100 && make > /dev/null
	cd sqlite-autoconf-3080100 && sudo make install > /dev/null

lib-hdf5:
	wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.12.tar.gz > /dev/null
	tar xzvvf hdf5-1.8.12.tar.gz > /dev/null
	cd hdf5-1.8.12 && ./configure --prefix=/usr/local --enable-shared --enable-hl > /dev/null
	cd hdf5-1.8.12 && make -j 2 > /dev/null
	cd hdf5-1.8.12 && sudo make install > /dev/null

lib-netcdf4:
	wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.1-rc4.tar.gz > /dev/null
	tar xzvvf netcdf-4.3.1-rc4.tar.gz > /dev/null
	cd netcdf-4.3.1-rc4 && LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include sh ./configure --enable-netcdf-4 --enable-dap --enable-shared --prefix=/usr/local > /dev/null
	cd netcdf-4.3.1-rc4 && make -j 2 > /dev/null
	cd netcdf-4.3.1-rc4 && sudo make install > /dev/null

src-aspects:
	wget http://www.cs.tut.fi/~ask/aspects/python-aspects-1.3.tar.gz > /dev/null
	tar xzvvf python-aspects-1.3.tar.gz > /dev/null
	cd python-aspects-1.3 && sudo make && sudo make install > /dev/null
	cp python-aspects-1.3/aspects.py imagedownloader/aspects.py

src-postgres:
	--without-readline --without-zlib

pip-requirements: bin-sqlite3 lib-hdf5 lib-netcdf4 src-aspects
	sudo ldconfig
	pip install -r imagedownloader/requirements.txt
{'fraction_non_alphanumeric': 0.16398330351818724, 'fraction_numerical': 0.06082289803220036, 'mean_word_length': 3.1677018633540373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2285215', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1429, 'n_words': 260}