From ed74be6c0ba49dd2cb2936ed8db5031869447c1c Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sat, 27 Aug 2011 10:38:18 -0400 Subject: Bump version number for version 0.4.0 release --- dotfiles/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/core.py b/dotfiles/core.py index 22cacb8..4c8add4 100644 --- a/dotfiles/core.py +++ b/dotfiles/core.py @@ -11,7 +11,7 @@ import os import shutil -__version__ = '0.3.1' +__version__ = '0.4.0' __author__ = "Jon Bernard" __license__ = "GPL" -- cgit v1.2.3 From e0567f3d211be7d76dad940195f16e5ba0535685 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sat, 27 Aug 2011 10:42:55 -0400 Subject: Update README.rst and document move operation --- README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 132ad2b..5e959fd 100644 --- a/README.rst +++ b/README.rst @@ -4,11 +4,8 @@ Dotfile management made easy ``dotfiles`` is a tool to make managing your dotfile symlinks in ``$HOME`` easy, allowing you to keep all your dotfiles in a single directory. -Hosting is left to you. Yes, I've seen ``_ but I don't -like that model. If you're advanced enough to need dotfile management, then -you probably already know how you want to host them. Using whatever VCS you -prefer, or even rsync, you can easily distribute your dotfiles repository -across multiple hosts. +Hosting is left to you. Using whatever VCS you prefer, or even rsync, you can +easily distribute your dotfiles repository across multiple hosts. Interface --------- @@ -29,6 +26,9 @@ Interface Update dotfile symlinks. You can overwrite unmanaged files with ``-f`` or ``--force``. +``-m, --move`` + Move dotfiles repository to another location. + Installation ------------ -- cgit v1.2.3 From 37734b9b880c32a9a8b602be7ea0979951e2c27b Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sat, 27 Aug 2011 10:51:28 -0400 Subject: Add publish and test routines to setup.py --- setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) mode change 100644 => 100755 setup.py diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index f41e668..df99c5a --- a/setup.py +++ b/setup.py @@ -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', -- cgit v1.2.3