mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Removed SCons from requirements list
This commit is contained in:
@ -7,6 +7,8 @@ PlatformIO 2.0
|
||||
2.6.2 (2015-12-??)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Removed ``SCons`` from requirements list. PlatformIO will try to install it
|
||||
automatically, otherwise users need to install it manually
|
||||
* Fixed ``ChunkedEncodingError`` when SF connection is broken
|
||||
(`issue #356 <https://github.com/platformio/platformio/issues/356>`_)
|
||||
|
||||
|
@ -103,8 +103,8 @@ Troubleshooting
|
||||
Installation
|
||||
~~~~~~~~~~~~
|
||||
|
||||
PlatformIO and ``SCons`` aren't installed properly
|
||||
''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
``SCons`` is not installed in your system
|
||||
'''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
PlatformIO depends on awesome and irreplaceable software construction tool
|
||||
named `SCons <http://www.scons.org>`_. PlatformIO Code Builder uses it to build
|
||||
|
@ -193,9 +193,10 @@ class CIBuildEnvsEmpty(PlatformioException):
|
||||
|
||||
class SConsNotInstalledError(PlatformioException):
|
||||
|
||||
MESSAGE = "The PlatformIO and `scons` aren't installed properly. "\
|
||||
MESSAGE = "SCons is not installed in your system. "\
|
||||
"More details in FAQ/Troubleshooting section: "\
|
||||
"http://docs.platformio.org/en/latest/faq.html"
|
||||
"http://docs.platformio.org/en/latest/faq.html"\
|
||||
"#scons-is-not-installed-in-your-system"
|
||||
|
||||
|
||||
class UpgradeError(PlatformioException):
|
||||
|
4
setup.py
4
setup.py
@ -30,7 +30,9 @@ install_requires = [
|
||||
if system() == "Windows":
|
||||
install_requires.append("colorama")
|
||||
|
||||
if (not util.test_scons() and not util.install_scons()) or util.scons_in_pip():
|
||||
if not util.test_scons():
|
||||
util.install_scons()
|
||||
elif util.scons_in_pip():
|
||||
install_requires.append("scons")
|
||||
|
||||
setup(
|
||||
|
Reference in New Issue
Block a user