diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000000000000000000000000000000000000..2c5ba4d5659431823b7a16f1724fb815fb86969b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+python-userpath (1.3.0-1) experimental; urgency=low
+
+  * initial packaging release
+    closes: bug#951485
+
+ -- Jonas Smedegaard <dr@jones.dk>  Mon, 17 Feb 2020 12:11:55 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000000000000000000000000000000000000..663324867e09199945e8ac6cedfb7630effbe6d9
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+debian/_silkaj
+debian/bash-completion
+debian/silkaj.1
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000000000000000000000000000000000000..1228ffb398de537816573e5d7c3cec5ff2dd45d5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: python-userpath
+Section: utils
+Priority: optional
+Maintainer: Jonas Smedegaard <dr@jones.dk>
+Build-Depends:
+ debhelper-compat (= 12),
+ dh-sequence-python3,
+ fish <!nocheck>,
+ help2man,
+ python3,
+ python3-click <!nocheck>,
+ python3-coverage <!nocheck>,
+ python3-distro <!nocheck>,
+ python3-pytest <!nocheck>,
+ python3-setuptools,
+ xonsh <!nocheck>,
+ zsh <!nocheck>,
+Standards-Version: 4.5.0
+Vcs-Git: https://salsa.debian.org/debian/python-userpath.git
+Vcs-Browser: https://salsa.debian.org/debian/python-userpath
+Homepage: https://github.com/ofek/userpath
+Rules-Requires-Root: no
+
+Package: userpath
+Architecture: all
+Depends:
+ python3-userpath (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends},
+Description: tool for adding locations to the user PATH - CLI tool
+ userpath is a command-line tool and Python library
+ to add custom locations to user PATH.
+ Only user-specific PATH is changed,
+ avoiding the need for elevated privileges.
+ .
+ This package provides the command-line tool userpath.
+
+Package: python3-userpath
+Architecture: all
+Depends:
+ python3-click,
+ ${misc:Depends},
+ ${python3:Depends},
+Recommends:
+ python3-distro,
+ python3-psutil,
+Description: tool for adding locations to the user PATH - Python3 library
+ userpath is a command-line tool and Python library
+ to add custom locations to user PATH.
+ Only user-specific PATH is changed,
+ avoiding the need for elevated privileges.
+ .
+ This package provides the userpath library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000000000000000000000000000000000000..6e11f1ac9c0e81d9fa88d8c9fa194b12c254a062
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: userpath
+Upstream-Contact: https://github.com/ofek/userpath/issues
+Source: https://github.com/ofek/userpath
+
+Files: *
+Copyright: 2017, Ofek Lev <ofekmeister@gmail.com>
+License: Apache-2 or Expat
+
+Files: debian/*
+Copyright: 2016-2020, Jonas Smedegaard <dr@jones.dk>
+License-Grant:
+ This program is free software;
+ you can redistribute it and/or modify it
+ under the terms of the GNU General Public License
+ as published by the Free Software Foundation;
+ either version 3 of the License, or (at your option) any later version.
+License: GPL-3+
+
+License: Apache-2
+License-Reference: /usr/share/common-licenses/Apache-2.0
+
+License: Expat
+ Permission is hereby granted, free of charge,
+ to any person obtaining a copy of this software
+ and associated documentation files (the "Software"),
+ to deal in the Software without restriction,
+ including without limitation the rights
+ to use, copy, modify, merge, publish, distribute,
+ sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS",
+ WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO
+ THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+ AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000000000000000000000000000000000000..373f7c54c3612f9f6c953038e0869691ed4ad335
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Copyright © 2016-2019  Jonas Smedegaard <dr@jones.dk>
+# Description: helper script to update copyright_hints
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+set -eu
+
+# * extract metadata from graphics files before copyright check
+# * skip data files unlikely to contain copyright/licensing info
+export DEB_COPYRIGHT_EXTRACT_EXTS="jpg png"
+export DEB_COPYRIGHT_CHECK_IGNORE_EXTS="wav"
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000000000000000000000000000000000000..a279dd2a5cd6df05e02883c8bed69963e1b19b26
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,69 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: HISTORY.rst
+ MANIFEST.in
+ README.rst
+ debian/control
+ debian/gbp.conf
+ debian/python3-userpath.install
+ debian/rules
+ debian/source/format
+ debian/userpath.install
+ debian/watch
+ requirements-dev.txt
+ setup.py
+ tests/conftest.py
+ tests/docker/debian
+ tests/docker/docker-compose.yaml
+ tests/docker/requirements.txt
+ tests/test_bash.py
+ tests/test_fish.py
+ tests/test_sh.py
+ tests/test_windows.py
+ tests/test_xonsh.py
+ tests/test_zsh.py
+ tests/utils.py
+ tox.ini
+ userpath/__init__.py
+ userpath/__main__.py
+ userpath/cli.py
+ userpath/core.py
+ userpath/interface.py
+ userpath/shells.py
+ userpath/utils.py
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: LICENSE-MIT
+Copyright: 2017, Ofek Lev
+License: Expat
+ FIXME
+
+Files: debian/copyright-check
+Copyright: 2016-2019, Jonas Smedegaard <dr@jones.dk>
+  check
+License: GPL-3+
+ FIXME
+
+Files: LICENSE-APACHE
+Copyright: 2017, Ofek Lev
+  License. Subject to the terms and conditions of
+  You must retain, in the Source form of any Derivative Works
+  license to reproduce, prepare Derivative Works of,
+  patent, trademark, and
+License: UNKNOWN
+ FIXME
+
+Files: debian/source/lintian-overrides
+Copyright: GPL-3
+  GPL-3+
+  gpl-3
+  gpl-3+
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000000000000000000000000000000000000..8d819059dfe88e96164d1d2b158be4bb24c0421b
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+filter = [ '*/.git*', '.dockerignore' ]
+debian-branch = debian/master
diff --git a/debian/python3-userpath.install b/debian/python3-userpath.install
new file mode 100644
index 0000000000000000000000000000000000000000..4606faae20a7647f40c70df32a64dfbca8ffdaa5
--- /dev/null
+++ b/debian/python3-userpath.install
@@ -0,0 +1 @@
+usr/lib/python3*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000000000000000000000000000000000000..2287ecebbd1d409a4d19b631a9aa2d0f3e70864d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+# detect if build targets experimental suite (or is a draft)
+DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
+
+DH_OPTIONS = -O--buildsystem=pybuild
+
+cmd = userpath
+_ENV = $(strip \
+ PATH="$(CURDIR)/debian/tmp/usr/bin:$(PATH)" \
+ PYTHONPATH="$(CURDIR)/debian/tmp/usr/lib/$(shell py3versions -d)/dist-packages")
+
+# generate manpage with help2man from --help option of python script
+_mkman = $(_ENV) \
+ help2man $(if $3,--name "$(strip $3)") --no-info --version-string $(DEB_VERSION_UPSTREAM) --output $2 $1 \
+ || { $(_ENV) $1 --help; false; }
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	dh_auto_test $(if $(DEB_SUITE_EXP),|| true)
+endif
+
+# * generate manpage based on --help option of script itself
+override_dh_auto_install:
+	dh_auto_install
+	$(call _mkman, $(cmd), debian/$(cmd).1, \
+		tool for adding locations to the user PATH)
+	find debian/tmp/usr/lib -name '*.pyc' -delete
+	find debian/tmp/usr/lib -type d -empty -delete
+
+%:
+	dh $@ $(DH_OPTIONS:-O%=%)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000000000000000000000000000000000000..a5ea5dfdc335a310f344bc70065c19d080132f13
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright apache-2 *
+missing-license-paragraph-in-dep5-copyright gpl-3\+ *
+missing-license-text-in-dep5-copyright Apache-2 *
+missing-license-text-in-dep5-copyright GPL-3\+ *
diff --git a/debian/userpath.install b/debian/userpath.install
new file mode 100644
index 0000000000000000000000000000000000000000..e77248175524d9f63749c2d6ca67159eeb4aa635
--- /dev/null
+++ b/debian/userpath.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/userpath.manpages b/debian/userpath.manpages
new file mode 100644
index 0000000000000000000000000000000000000000..55adc22d41ebbe1c1f478cd7a254a55c116bed89
--- /dev/null
+++ b/debian/userpath.manpages
@@ -0,0 +1 @@
+debian/userpath.1
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000000000000000000000000000000000000..b356a585dc622b2cceec3d086f0c47af496d1f50
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,9 @@
+version=4
+# check: uscan --report
+# update: gbp import-orig --upstream-vcs-tag=vX.Y.Z --uscan
+
+opts=\
+filenamemangle=s/.*?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/,\
+dversionmangle=s/[~+](dfsg|ds)\d*$//,repacksuffix=~dfsg \
+https://github.com/ofek/userpath/tags \
+.*?@ANY_VERSION@@ARCHIVE_EXT@