# Path: elbepack/version.py



import subprocess
import os
import glob
from setuptools import setup
from setuptools.command.install import install
from elbepack.version import elbe_version
    """A method to determine absolute path
for a relative path inside project's directory."""

    return os.path.abspath(
        os.path.join(
            os.path.dirname(__file__), path))


class my_install(install):

    def run(self):
        install.run(self)
        if self.root:
            envvars = dict({"prefix": self.prefix,
                            "DESTDIR": self.root},
                           **dict(os.environ))
        else:
            envvars = dict({"prefix": self.prefix}, **dict(os.environ))

        docs_dir = abspath("./docs/")

        output = subprocess.Popen("make install",
                                  shell=True,
                                  stdout=subprocess.PIPE,
                                  cwd=docs_dir,
                                  env=envvars).communicate()[0]
        print(output)


setup(name='elbe',

# Path: elbepack/version.py



# Path: setup.py
import subprocess
import os
import glob
from setuptools import setup
from setuptools.command.install import install
from elbepack.version import elbe_version

    """A method to determine absolute path
for a relative path inside project's directory."""

    return os.path.abspath(
        os.path.join(
            os.path.dirname(__file__), path))


class my_install(install):

    def run(self):
        install.run(self)
        if self.root:
            envvars = dict({"prefix": self.prefix,
                            "DESTDIR": self.root},
                           **dict(os.environ))
        else:
            envvars = dict({"prefix": self.prefix}, **dict(os.environ))

        docs_dir = abspath("./docs/")

        output = subprocess.Popen("make install",
                                  shell=True,
                                  stdout=subprocess.PIPE,
                                  cwd=docs_dir,
                                  env=envvars).communicate()[0]
        print(output)


setup(name='elbe',

      version=elbe_version,