@contact: frank.brehm@pixelpark.com
@license: LGPL3+
@copyright: © 2019 Frank Brehm, Berlin
-@summary: A Tool for creating a terraform project based on a YAML file for provisioning virtual machines.
+@summary: A Tool for creating a terraform project based on a YAML file
+ for provisioning virtual machines.
"""
import os
import sys
import re
import pprint
-import datetime
-import textwrap
import glob
import pathlib
import subprocess
# Third party modules
from setuptools import setup
-from setuptools.command.install import install
# own modules:
__base_dir__ = os.path.abspath(os.path.dirname(__file__))
pprinter = pprint.PrettyPrinter(indent=4)
return pprinter.pformat(obj)
-#print("Paths:\n{}".format(pp(PATHS)))
+# print("Paths:\n{}".format(pp(PATHS)))
+
if os.path.exists(__module_dir__) and os.path.isfile(__init_py__):
sys.path.insert(0, os.path.abspath(__lib_dir__))
else:
return False
+
# -----------------------------------
__requirements__ = [
'argparse',
'six'
]
+
# -----------------------------------
def read_requirements():
# print("Found required modules: {}\n".format(pp(__requirements__)))
+
read_requirements()
# -----------------------------------
scripts=__scripts__,
requires=__requirements__,
package_dir={'': 'lib'},
- package_data = {
+ package_data={
'': create_mo_files(),
},
- data_files= __data_files__,
+ data_files=__data_files__,
)