duplicity


Nameduplicity JSON
Version 3.0.3.2 PyPI version JSON
download
home_pageNone
SummaryEncrypted backup using rsync algorithm
upload_time2024-11-25 15:27:13
maintainerNone
docs_urlNone
authorNone
requires_python<3.13,>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # REQUIREMENTS

The following should be installed by apt, yum, etc., depending on your OS.

NOTE: Some distro's may have different names for these.
```
sudo apt-get update 
sudo apt-get install -y \
        build-essential \
        intltool \
        lftp \
        librsync-dev \
        libffi-dev \
        libssl-dev \
        openssl \
        par2 \
        python3-dev \
        python3-pip \
        python3-venv \
        python3 \
        rclone \
        rsync \
        rdiff \
        tzdata
```

# INSTALLATION

Since Python3.11 site package directories have been marked as **Externally Managed** and now require 
using `--break-system-packages` to install into them.  This means that a package like duplicity with
many packages must use a virtual environment, or venv, to install their packages.  Rather than going
through the manual process of producing a venv, activating it, installing duplicity, etc., we will be
using `pipx` from now on to install duplicity.  This way we get the same effect as a pip install, but
isolated in a venv.

To install follow instructions below.  Steps (1) and (2) are important.

## (1) Update packaging to current version
PyPA (Python Packaging Authority) has been making rapid changes to the way we install Python modules.  
To accomodate installing new packages on older Pythons prior to 3.11, it is necessary to upgrade 
packaging tools like this:
```shell
sudo python3 -m pip install --update pip pipx
````
**NOTE: _Failure to update will probably result in a failed install._  <--IMPORTANT!**  

To make sure the pipx dirs are on your path do:
```shell
sudo pipx --global ensurepath  # for all users
pipx ensurepath                # for single user
```

## (2) Uninstall Previous Version
If you have an existing duplicity on your path and it was not
installed by setup.py, pip, or pipx, you must uninstall it
using the same method by which it was installed.

You can tell if you have multiple instances by doing
```shell
which -a duplicity
```
and then use apt, yum, snap, or other command to remove them.

## (3) Install Using Pipx
Chose one of the following depending on whether you want to install for 
all users or the current user.  Use both if needed.  

With `--global` duplicity will be installed in `/usr/local/bin/duplicity` 
and its many packages in `/opt/pipx/venvs/duplicity`.

Without `--global` duplicity will be installed in `~/.local/bin/duplicity` 
and its many packages in `~/.local/pipx/venvs/duplicity`.

### (3a) Normal Install

#### From Pipx (all users)
```shell
sudo pipx --global install duplicity[==version]
```

#### From Pipx (single user)
```shell
pipx install duplicity[==version]
```

### (3b) Suffixed Install
You can keep multiple versions of duplicity by supplying `--suffix=version`.

#### From Pipx (all users)
```shell
sudo pipx --global install --suffix=version duplicity[==version]
```

#### From Pipx (single user)
```shell
pipx install --suffix=version duplicity[==version]
```

# DEVELOPMENT

For more information on downloading duplicity's source code from the
code repository and developing for duplicity, see README-REPO.

For source docs: http://duplicity.readthedocs.io/

# HELP

For more information see the duplicity web site at:

  http://duplicity.us

  or at:

  http://duplicity.gitlab.io

or post to the mailing list at:

  https://lists.nongnu.org/mailman/listinfo/duplicity-talk

or post a new issue at:

  https://gitlab.com/duplicity/duplicity/-/issues

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "duplicity",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Ben Escoto <ben@emrose.org>, Kenneth Loafman <kenneth@loafman.com>",
    "download_url": "https://files.pythonhosted.org/packages/c5/d0/df1b66f5f1006407da8478c497bdc985229cf141a4f5c3e8b2a7c5689a6d/duplicity-3.0.3.2.tar.gz",
    "platform": "any",
    "description": "# REQUIREMENTS\n\nThe following should be installed by apt, yum, etc., depending on your OS.\n\nNOTE: Some distro's may have different names for these.\n```\nsudo apt-get update \nsudo apt-get install -y \\\n        build-essential \\\n        intltool \\\n        lftp \\\n        librsync-dev \\\n        libffi-dev \\\n        libssl-dev \\\n        openssl \\\n        par2 \\\n        python3-dev \\\n        python3-pip \\\n        python3-venv \\\n        python3 \\\n        rclone \\\n        rsync \\\n        rdiff \\\n        tzdata\n```\n\n# INSTALLATION\n\nSince Python3.11 site package directories have been marked as **Externally Managed** and now require \nusing `--break-system-packages` to install into them.  This means that a package like duplicity with\nmany packages must use a virtual environment, or venv, to install their packages.  Rather than going\nthrough the manual process of producing a venv, activating it, installing duplicity, etc., we will be\nusing `pipx` from now on to install duplicity.  This way we get the same effect as a pip install, but\nisolated in a venv.\n\nTo install follow instructions below.  Steps (1) and (2) are important.\n\n## (1) Update packaging to current version\nPyPA (Python Packaging Authority) has been making rapid changes to the way we install Python modules.  \nTo accomodate installing new packages on older Pythons prior to 3.11, it is necessary to upgrade \npackaging tools like this:\n```shell\nsudo python3 -m pip install --update pip pipx\n````\n**NOTE: _Failure to update will probably result in a failed install._  <--IMPORTANT!**  \n\nTo make sure the pipx dirs are on your path do:\n```shell\nsudo pipx --global ensurepath  # for all users\npipx ensurepath                # for single user\n```\n\n## (2) Uninstall Previous Version\nIf you have an existing duplicity on your path and it was not\ninstalled by setup.py, pip, or pipx, you must uninstall it\nusing the same method by which it was installed.\n\nYou can tell if you have multiple instances by doing\n```shell\nwhich -a duplicity\n```\nand then use apt, yum, snap, or other command to remove them.\n\n## (3) Install Using Pipx\nChose one of the following depending on whether you want to install for \nall users or the current user.  Use both if needed.  \n\nWith `--global` duplicity will be installed in `/usr/local/bin/duplicity` \nand its many packages in `/opt/pipx/venvs/duplicity`.\n\nWithout `--global` duplicity will be installed in `~/.local/bin/duplicity` \nand its many packages in `~/.local/pipx/venvs/duplicity`.\n\n### (3a) Normal Install\n\n#### From Pipx (all users)\n```shell\nsudo pipx --global install duplicity[==version]\n```\n\n#### From Pipx (single user)\n```shell\npipx install duplicity[==version]\n```\n\n### (3b) Suffixed Install\nYou can keep multiple versions of duplicity by supplying `--suffix=version`.\n\n#### From Pipx (all users)\n```shell\nsudo pipx --global install --suffix=version duplicity[==version]\n```\n\n#### From Pipx (single user)\n```shell\npipx install --suffix=version duplicity[==version]\n```\n\n# DEVELOPMENT\n\nFor more information on downloading duplicity's source code from the\ncode repository and developing for duplicity, see README-REPO.\n\nFor source docs: http://duplicity.readthedocs.io/\n\n# HELP\n\nFor more information see the duplicity web site at:\n\n  http://duplicity.us\n\n  or at:\n\n  http://duplicity.gitlab.io\n\nor post to the mailing list at:\n\n  https://lists.nongnu.org/mailman/listinfo/duplicity-talk\n\nor post a new issue at:\n\n  https://gitlab.com/duplicity/duplicity/-/issues\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Encrypted backup using rsync algorithm",
    "version": "3.0.3.2",
    "project_urls": {
        "url": "http://duplicity.us"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c5d0df1b66f5f1006407da8478c497bdc985229cf141a4f5c3e8b2a7c5689a6d",
                "md5": "4323c95c6706624cbc1ec189ebd228cb",
                "sha256": "b8c160fba8cfc07a02f619b44ff24a4440d379f68ccd70c753453b96c66d9807"
            },
            "downloads": -1,
            "filename": "duplicity-3.0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4323c95c6706624cbc1ec189ebd228cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.8",
            "size": 1929330,
            "upload_time": "2024-11-25T15:27:13",
            "upload_time_iso_8601": "2024-11-25T15:27:13.252498Z",
            "url": "https://files.pythonhosted.org/packages/c5/d0/df1b66f5f1006407da8478c497bdc985229cf141a4f5c3e8b2a7c5689a6d/duplicity-3.0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-25 15:27:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "duplicity"
}
        
Elapsed time: 0.36091s