25 lines
721 B
Python
25 lines
721 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
|
|
|
from pisi.actionsapi import pythonmodules
|
|
from pisi.actionsapi import shelltools
|
|
from pisi.actionsapi import autotools
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import get
|
|
|
|
examples = "%s/%s/examples" % (get.docDIR(), get.srcNAME())
|
|
|
|
def build():
|
|
pythonmodules.compile(pyVer="3")
|
|
# build documentation
|
|
#shelltools.cd("docs")
|
|
autotools.make("-C docs html PYTHONPATH=$(pwd)/src SPHINXBUILD=sphinx-build ")
|
|
|
|
def install():
|
|
pythonmodules.install(pyVer="3")
|
|
pisitools.dodoc("LICENSE*")
|
|
pisitools.dohtml("docs/_build/html/*")
|