Skip to content

Instantly share code, notes, and snippets.

View vimalkvn's full-sized avatar

Vimalkumar Velayudhan vimalkvn

View GitHub Profile
@vimalkvn
vimalkvn / watch.py
Created April 24, 2018 09:09
Build html (sphinx documentation) when rst is updated
import os
import sys
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
from sphinx import cmdline
def build_file(fname):
print("Building {}".format(fname))
@vimalkvn
vimalkvn / Makefile
Created February 22, 2016 10:43
BLAST Makefile example
.PHONY: all clean
all: sample.fa blast blast_html
clean:
rm -rf sample.fa*
# Get sample sequences and format database for BLAST
sample.fa: db.fa
sed -n '1,+51p' $^ > $@
@vimalkvn
vimalkvn / pypi-release-checklist.md
Last active March 4, 2017 12:12 — forked from audreyfeldroy/pypi-release-checklist.md
My PyPI Release Checklist

PyPI release checklist

Based on: https://gist.github.com/audreyr/5990987

  1. Update version number in setup.py.
  2. Update version number in package\__init__.py.
  3. Update HISTORY.rst with information on the changes for this version.
  4. Install latest version in development mode

pip install -e .