-h --help Show this screen.
--version Show version.
"""
+from __future__ import absolute_import
-import ConfigParser
+import six.moves.configparser
from docopt import docopt
import os
-from src.patch_scan import prepare_patchset
-from src.project_scan import prepare_project
-import utils.anteater_logger as antlog
+from anteater.src.patch_scan import prepare_patchset
+from anteater.src.project_scan import prepare_project
+from anteater.utils import anteater_logger as antlog
-config = ConfigParser.RawConfigParser()
+config = six.moves.configparser.RawConfigParser()
config.read('anteater.conf')
reports_dir = config.get('config', 'reports_dir')
logger = antlog.Logger(__name__).getLogger()
+from __future__ import absolute_import
import pkg_resources
try:
Gathers various values from the gate check yaml file and return them to the
calling instance
"""
+from __future__ import absolute_import
import anteater.utils.anteater_logger as antlog
-import ConfigParser
+import six.moves.configparser
import copy
import os
import yaml
import re
-config = ConfigParser.RawConfigParser()
+
+config = six.moves.configparser.RawConfigParser()
config.read('anteater.conf')
logger = antlog.Logger(__name__).getLogger()
master_list = config.get('config', 'master_list')
from __future__ import division, print_function, absolute_import
from binaryornot.check import is_binary
import anteater.utils.anteater_logger as antlog
-import anteater.src.get_lists as get_lists
-import ConfigParser
import hashlib
+import six.moves.configparser
import sys
import re
+from . import get_lists
logger = antlog.Logger(__name__).getLogger()
-config = ConfigParser.RawConfigParser()
+config = six.moves.configparser.RawConfigParser()
config.read('anteater.conf')
reports_dir = config.get('config', 'reports_dir')
failure = False
"""
from __future__ import division, print_function, absolute_import
-import ConfigParser
import hashlib
+import six.moves.configparser
import os
import re
import anteater.utils.anteater_logger as antlog
-import anteater.src.get_lists as get_lists
from binaryornot.check import is_binary
+from . import get_lists
+
logger = antlog.Logger(__name__).getLogger()
-config = ConfigParser.RawConfigParser()
+config = six.moves.configparser.RawConfigParser()
config.read('anteater.conf')
reports_dir = config.get('config', 'reports_dir')
master_list = config.get('config', 'master_list')
+from __future__ import absolute_import
import pkg_resources
try:
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-import ConfigParser
+from __future__ import absolute_import
+
import logging
+
import os
+import six.moves.configparser
-config = ConfigParser.RawConfigParser()
+config = six.moves.configparser.RawConfigParser()
config.read('anteater.conf')
anteater_log = config.get('config', 'anteater_log')
# -*- coding: utf-8 -*-
+from __future__ import absolute_import
import re
import sys
from setuptools.command.test import test as TestCommand
raise RuntimeError('Cannot find version information')
return version
-__version__ = find_version("anteater/anteater.py")
+__version__ = find_version("anteater/main.py")
def read(fname):
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
+ "Programming Language :: Python :: 3",
+ 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
py_modules=["anteater"],
entry_points={
'console_scripts': [
- "anteater = anteater.anteater:main"
+ "anteater = anteater.main:main"
]
},
tests_require=['pytest'],
# -*- coding: utf-8 -*-
+from __future__ import absolute_import
+from __future__ import print_function
import os
import sys