From fc4a8aa87908585c9913d1ddd027845be48552e5 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sun, 3 Jul 2011 09:26:11 -0400 Subject: Add option to print version number --- setup.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index a14a6c6..f41e668 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,16 @@ -from distutils.core import setup -import dotfiles +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + +from dotfiles.core import __version__ + setup(name='dotfiles', - version=dotfiles.__version__, + version=__version__, description='Easily manage your dotfiles', long_description=open('README.rst').read(), author='Jon Bernard', -- cgit v1.2.3