{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "## dotpup manages dotfiles across platforms\n\nThis is very minimalistic and intended for my own usage, but maybe others\nwill find it useful. dotpup doesn't care about the synchronization of files,\nit's up to you. You may use git, rsync, dropbox, nextcloud etc.\n\n## Installation\n\n```\n$ pip install dotpup\n```\n\n## Usage\n\ndotpup has three commands. All of them require setting DOTPUP_HOME. Typically,\nyou will want to have a dotfiles directory somewhere (I have `$HOME/dotfiles`).\n\nYou can start with an empty directory.\n\n### dpup store\n\n```\n$ dpup store \n```\n\nThis moves the dotfile into `$DOTPUP_HOME`, symlinks it back to the original\nlocation and records the transaction for future automated replication (see\n`dpup update`)\n\nThis is my current dotpup.json:\n\n```\n{\n \"operations\": {\n \"Darwin\": {\n \".config/nvim/init.vim\": \"$HOME/.config/nvim/init.vim\",\n \".gitconfig\": \"$HOME/.gitconfig\",\n \".gitignore_global\": \"$HOME/.gitignore_global\",\n \".tmux.conf\": \"$HOME/.tmux.conf\",\n \".zsh_aliases\": \"$HOME/.zsh_aliases\",\n \".zshrc\": \"$HOME/.zshrc\"\n },\n \"Linux\": {\n \".config/nvim/init.vim\": \"$HOME/.config/nvim/init.vim\",\n \".gitconfig\": \"$HOME/.gitconfig\",\n \".gitignore_global\": \"$HOME/.gitignore_global\",\n \".hosts\": \"$HOME/.hosts\",\n \".ssh/config\": \"$HOME/.ssh/config\",\n \".tmux.conf\": \"$HOME/.tmux.conf\",\n \".zsh_aliases\": \"$HOME/.zsh_aliases\",\n \".zshrc\": \"$HOME/.zshrc\"\n }\n }\n}\n```\n\nThe reason for having per-platform entries is that the paths are not always the\nsame. For example, vscode (which I'm yet to add) uses different paths on Linux\nand macOS.\n\n### dpup link\n\n```\n$ dpup link \n```\n\nThis creates a symlink to a stored dotfile and records the operation. This is\ntypically useful when reusing dotfiles on a new platform.\n\n### dpup update\n\n```\n$ dpup update\n```\n\nThis performs the operations for the current platform or (optionally) for a\ndifferent platform. This is useful when you are setting up on a new machine.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sztomi/dotpup", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dotpup", "package_url": "https://pypi.org/project/dotpup/", "platform": "", "project_url": "https://pypi.org/project/dotpup/", "project_urls": { "Homepage": "https://github.com/sztomi/dotpup" }, "release_url": "https://pypi.org/project/dotpup/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.0.1" }, "last_serial": 4602683, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "def0b90b0506e710fe349f51eea0d077", "sha256": "a34078776f78e71b7d3e444293a2363b529c067c2a43478ce31a4f082678a8c1" }, "downloads": -1, "filename": "dotpup-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "def0b90b0506e710fe349f51eea0d077", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7892, "upload_time": "2018-12-15T13:45:09", "url": "https://files.pythonhosted.org/packages/1d/57/2c611891e91bcc3a8901069882908c684d1e0987cf1edf5adecba1c9c060/dotpup-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81dc27e290e6737a758a3493920d8b96", "sha256": "5138190db18e114aea311bfbd94e4f1dc5b6957d69d1b64125dfc6831eabbdf1" }, "downloads": -1, "filename": "dotpup-1.0.0.tar.gz", "has_sig": false, "md5_digest": "81dc27e290e6737a758a3493920d8b96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4443, "upload_time": "2018-12-15T13:45:11", "url": "https://files.pythonhosted.org/packages/95/e2/108e3d34a2a1181457603f2ff3d7b783ddc8d265954ef6d54be6086d3ec4/dotpup-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ad800fd615a089dd60f8cf2d2b59969f", "sha256": "c1f35f4d87241ff53f788063cbff752640c6caf3afce0aadae5ce7bc21b63414" }, "downloads": -1, "filename": "dotpup-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ad800fd615a089dd60f8cf2d2b59969f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7932, "upload_time": "2018-12-15T13:51:15", "url": "https://files.pythonhosted.org/packages/17/e0/825c77c93276aeb93216633b6632261f858d009e10f1cb62f80919cda555/dotpup-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "459292a4618965e82fba7a05c5253b2c", "sha256": "86bf34b43db0802c293f934a71cb356b6ad30d77218599496b0af9dbbf247177" }, "downloads": -1, "filename": "dotpup-1.0.1.tar.gz", "has_sig": false, "md5_digest": "459292a4618965e82fba7a05c5253b2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4501, "upload_time": "2018-12-15T13:51:16", "url": "https://files.pythonhosted.org/packages/d0/c4/2e66f678a432963b48df59f5007835707a9d47bb9d1d05f84e044758fdd6/dotpup-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad800fd615a089dd60f8cf2d2b59969f", "sha256": "c1f35f4d87241ff53f788063cbff752640c6caf3afce0aadae5ce7bc21b63414" }, "downloads": -1, "filename": "dotpup-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ad800fd615a089dd60f8cf2d2b59969f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7932, "upload_time": "2018-12-15T13:51:15", "url": "https://files.pythonhosted.org/packages/17/e0/825c77c93276aeb93216633b6632261f858d009e10f1cb62f80919cda555/dotpup-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "459292a4618965e82fba7a05c5253b2c", "sha256": "86bf34b43db0802c293f934a71cb356b6ad30d77218599496b0af9dbbf247177" }, "downloads": -1, "filename": "dotpup-1.0.1.tar.gz", "has_sig": false, "md5_digest": "459292a4618965e82fba7a05c5253b2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4501, "upload_time": "2018-12-15T13:51:16", "url": "https://files.pythonhosted.org/packages/d0/c4/2e66f678a432963b48df59f5007835707a9d47bb9d1d05f84e044758fdd6/dotpup-1.0.1.tar.gz" } ] }