diff options
author | Jon Bernard <jbernard@tuxion.com> | 2011-07-03 09:26:11 -0400 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2011-07-03 09:26:11 -0400 |
commit | fc4a8aa87908585c9913d1ddd027845be48552e5 (patch) | |
tree | 386a4b2a78d5347fbfaf07ddad4bd1aa343392fc /setup.py | |
parent | 66dd01b9f1d1c6fea4bf4db544045a8aa410b28d (diff) | |
download | dotfiles-fc4a8aa87908585c9913d1ddd027845be48552e5.tar.gz dotfiles-fc4a8aa87908585c9913d1ddd027845be48552e5.tar.bz2 dotfiles-fc4a8aa87908585c9913d1ddd027845be48552e5.zip |
Add option to print version number
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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', |