diff options
author | Jon Bernard <jbernard@tuxion.com> | 2011-08-27 10:52:36 -0400 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2011-08-27 10:52:36 -0400 |
commit | 817994ba5583d1e6c6af2ef9a6a7559371568d8a (patch) | |
tree | d7dbab13d07360d4ecb927ed93b761e0d806ef92 /setup.py | |
parent | f333b9c5741a7ffbf49caa0a6130831a834b944f (diff) | |
parent | 37734b9b880c32a9a8b602be7ea0979951e2c27b (diff) | |
download | dotfiles-817994ba5583d1e6c6af2ef9a6a7559371568d8a.tar.gz dotfiles-817994ba5583d1e6c6af2ef9a6a7559371568d8a.tar.bz2 dotfiles-817994ba5583d1e6c6af2ef9a6a7559371568d8a.zip |
Merge branch 'release/0.4.0' into develop
Diffstat (limited to 'setup.py')
-rwxr-xr-x[-rw-r--r--] | setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,6 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +import os +import sys + try: from setuptools import setup except ImportError: @@ -9,6 +12,16 @@ except ImportError: from dotfiles.core import __version__ +if sys.argv[-1] == "publish": + os.system("python setup.py sdist upload") + sys.exit() + + +if sys.argv[-1] == "test": + os.system("python test_dotfiles.py") + sys.exit() + + setup(name='dotfiles', version=__version__, description='Easily manage your dotfiles', |