Skip to content

Commit

Permalink
Move installation root directory to "/opt/venvs"
Browse files Browse the repository at this point in the history
  • Loading branch information
jhermann committed Mar 12, 2018
1 parent a25dfa9 commit 25cbbba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ debianized-devpi/debian/devpi/
debianized-devpi/debian/files
debianized-devpi/debian/sdist/
debianized-devpi/debian/debhelper-build-stamp
debianized-devpi/debian/.debhelper/
devpi_*.changes
devpi_*.deb
devpi_*.upload
Expand Down
7 changes: 7 additions & 0 deletions debianized-devpi/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
devpi (4.0.0-3~xenial) xenial; urgency=high

* Move installation root directory to "/opt/venvs" (fix
upgrade problems for Python2 due to misplaced Python3 code)

-- Juergen Hermann <jh@web.de> Mon, 12 Mar 2018 16:56:59 +0100

devpi (4.0.0-2~xenial) xenial; urgency=high

* Xenial build (with Python3)
Expand Down
4 changes: 2 additions & 2 deletions debianized-devpi/debian/devpi.links
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
usr/share/python/devpi/bin/devpi usr/bin/devpi
usr/share/python/devpi/bin/devpi-server usr/sbin/devpi-server
opt/venvs/devpi/bin/devpi usr/bin/devpi
opt/venvs/devpi/bin/devpi-server usr/sbin/devpi-server
2 changes: 2 additions & 0 deletions debianized-devpi/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# sourcedir ".", because that includes the debian build stage,
# and a recursive explosion ensues when symlinks are followed.

export DH_VIRTUALENV_INSTALL_ROOT=/opt/venvs

# Packages to install before the main project
PREINSTALL=--preinstall "setuptools>=17.1" --preinstall "pip>8" --preinstall "wheel" \
--preinstall pytest --preinstall webtest
Expand Down

0 comments on commit 25cbbba

Please sign in to comment.