import zeep.cache
import zeep.transports
+__version__ = '2.0.0'
+
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)
default=False,
help="fetch data but don't upload to InfoEx")
+parser.add_option("--version",
+ action="store_true",
+ dest="show_version",
+ default=False,
+ help="show program version and exit")
+
(options, args) = parser.parse_args()
config = configparser.ConfigParser(allow_no_value=False)
+if options.show_version:
+ print("%s - %s" % (os.path.basename(__file__), __version__))
+ sys.exit(0)
+
if not options.config:
print("Please specify a configuration file via --config.")
sys.exit(1)