2
from importlib import import_module
4
from setuptools import setup
6
from distutils.core import setup
9
basedir = os.path.abspath(os.path.dirname(__file__) or '.')
13
package_name = 'fakejuju'
15
SUMMARY = 'A limited adaptation of Juju\'s client, with testing hooks.'
16
AUTHOR = 'Canonical Landscape team'
17
EMAIL = 'juju@lists.ubuntu.com'
18
PROJECT_URL = 'https://launchpad.net/fake-juju'
21
with open(os.path.join(basedir, 'README.md')) as readme_file:
22
DESCRIPTION = readme_file.read()
24
# dymanically generated data
26
VERSION = import_module(package_name).__version__
35
for path, dirs, files in os.walk(package_name):
36
if "__init__.py" not in files:
38
path = path.split(os.sep)
39
if path[-1] in exclude_dirs:
41
PACKAGES.append(".".join(path))
53
if __name__ == "__main__":
61
long_description=DESCRIPTION,
68
install_requires=DEPS,