2017-06-05 16:02:39 +03:00
|
|
|
# Copyright (c) 2014-present PlatformIO <contact@platformio.org>
|
2015-11-18 17:16:17 +02:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2014-05-18 23:38:59 +03:00
|
|
|
|
2015-12-26 20:22:22 +02:00
|
|
|
import sys
|
|
|
|
|
2018-01-16 13:40:59 +02:00
|
|
|
VERSION = (3, 5, "1a7")
|
2014-05-18 23:38:59 +03:00
|
|
|
__version__ = ".".join([str(s) for s in VERSION])
|
|
|
|
|
|
|
|
__title__ = "platformio"
|
2016-08-03 23:38:20 +03:00
|
|
|
__description__ = ("An open source ecosystem for IoT development. "
|
|
|
|
"Cross-platform build system and library manager. "
|
|
|
|
"Continuous and IDE integration. "
|
2016-09-07 13:47:42 +03:00
|
|
|
"Arduino, ESP8266 and ARM mbed compatible")
|
2014-12-30 23:22:42 +02:00
|
|
|
__url__ = "http://platformio.org"
|
2014-05-18 23:38:59 +03:00
|
|
|
|
|
|
|
__author__ = "Ivan Kravets"
|
|
|
|
__email__ = "me@ikravets.com"
|
|
|
|
|
2015-11-18 17:16:17 +02:00
|
|
|
__license__ = "Apache Software License"
|
2016-08-25 00:12:03 +03:00
|
|
|
__copyright__ = "Copyright 2014-present PlatformIO"
|
2014-06-07 13:34:31 +03:00
|
|
|
|
2016-08-25 21:02:20 +03:00
|
|
|
__apiurl__ = "https://api.platformio.org"
|
2015-12-26 20:22:22 +02:00
|
|
|
|
2017-06-24 02:13:03 +03:00
|
|
|
if sys.version_info < (2, 7, 0) or sys.version_info >= (3, 0, 0):
|
|
|
|
msg = ("PlatformIO Core v%s does not run under Python version %s.\n"
|
|
|
|
"Minimum supported version is 2.7, please upgrade Python.\n"
|
2015-12-26 20:22:22 +02:00
|
|
|
"Python 3 is not yet supported.\n")
|
2018-01-12 02:23:55 +02:00
|
|
|
sys.stderr.write(msg % (__version__, sys.version))
|
2015-12-26 20:22:22 +02:00
|
|
|
sys.exit(1)
|