24 lines
663 B
Python
24 lines
663 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("html")
|
|
|
|
def install():
|
|
pythonmodules.install(pyVer="3")
|
|
pisitools.dodoc("LICENSE*")
|
|
pisitools.dohtml("docs/_build/html/*") |