Mercurial > libervia-web
view src/pages/merge-requests/new/page_meta.py @ 1086:2566f17a0e59
server (setup): New setup.py compatible with archlinux PKGBUILD.
This file use a new "arch" option in LIBERVIA_INSTALL environment variable (which is set when libervia is installed with PKGBUILD.
This setup.py solves the following issues:
- os.symlink(os.path.dirname(libervia.__file__), os.path.join(tmp_dir,"libervia")) fails with PKGBUILD because the module libervia is not accessible.
- self.custom_create_links() fails with PKGBUILD because the permissions of bin directory is read-only.
author | Arnaud Joset <info@agayon.be> |
---|---|
date | Mon, 02 Apr 2018 10:39:55 +0200 |
parents | 6ce9647011b3 |
children | cdd389ef97bc |
line wrap: on
line source
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- from libervia.server.constants import Const as C from sat.core.log import getLogger log = getLogger('pages/ticket') """ticket handling pages""" name = u'merge-requests_new' access = C.PAGES_ACCESS_PUBLIC template = u"merge-request/create.html"