Files
platformio-core/platformio/__init__.py

40 lines
1.4 KiB
Python
Raw Normal View History

2016-08-03 22:18:51 +03:00
# Copyright 2014-present PlatformIO <contact@platformio.org>
#
# 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.
import sys
2017-05-29 15:41:56 +03:00
VERSION = (3, 4, "0b9")
__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")
__url__ = "http://platformio.org"
__author__ = "Ivan Kravets"
__email__ = "me@ikravets.com"
__license__ = "Apache Software License"
2016-08-25 00:12:03 +03:00
__copyright__ = "Copyright 2014-present PlatformIO"
2016-08-25 21:02:20 +03:00
__apiurl__ = "https://api.platformio.org"
2016-08-02 20:40:54 +03:00
if sys.version_info < (2, 7, 0) or sys.version_info >= (3, 0, 0):
msg = ("PlatformIO version %s does not run under Python version %s.\n"
"Python 3 is not yet supported.\n")
sys.stderr.write(msg % (__version__, sys.version.split()[0]))
sys.exit(1)