from distutils.core import setup
from subprocess import Popen, PIPE
from time import gmtime, strftime

timestamp = strftime("%Y.%m.%d.%H.%M.%S", gmtime(int(Popen(["git", "log", "-1", "--format=%ct"], stdout=PIPE).communicate()[0])))

setup(
    name="stm",
    version="0.1." + timestamp,
    description="A software transactional memory library",
    author="Alexander Boyd",
    author_email="alex@opengroove.org",
    packages=["stm"]
)
