WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 8371fe5a authored by Zixian Cai's avatar Zixian Cai
Browse files

Check platform requirements in __init__.py

parent d1e9f0cf
......@@ -13,11 +13,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import os
from pathlib import Path
from pkg_resources import resource_isdir, resource_filename
__VERSION__ = "0.0.1"
assert sys.version_info[:2] >= (3, 4), "Python 3.4+ is required."
assert os.name == "posix", "Only *nix systems are supported."
if resource_isdir(__name__, "suite"):
SUITE_DIR = Path(resource_filename(__name__, "suite"))
CALLBACKS_DIR = Path(resource_filename(__name__, "callbacks"))
......
......@@ -26,8 +26,6 @@ from mubench import __VERSION__
from mubench.frontend import frontends
from mubench.conf import settings
assert sys.version_info[:2] >= (3, 4), "Python 3.4+ is required."
LOGGING_FORMAT_DEFAULT = "[%(levelname)s] %(asctime)s %(module)s %(message)s"
logging.basicConfig(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment