installing Doorstop on macOS (for RTEMS use)

Andrew Butterfield Andrew.Butterfield at scss.tcd.ie
Thu Oct 10 14:15:53 UTC 2019


Dear RTEMS Users,

 Sebastian Huber asked me to check the availability of Doorstop (https://pypi.org/project/doorstop/) for macOS, and to report my experience on this mailing list.

 It is planned to use this for RTEMS requirements in the RTEMS qualification project.

It turned out to install really easily on my machine, in few 10s of seconds

The following is a record of my system setup w.r.t. python,
and the installation process.


Hardware/OS: MacBook Pro, 2.8Ghz i7, 16GB ram, 500GB flash, macOS 10.14.6

python state:

~> which python
/usr/local/bin/python
~> python --version
Python 2.7.16

~> which python3
/usr/local/bin/python3
~> python3 --version
Python 3.7.4

~> which pip
/usr/local/bin/pip
~> pip --version
pip 19.0.3 from /usr/local/lib/python2.7/site-packages/pip (python 2.7)

~> which pip3
/usr/local/bin/pip3
~> pip3 --version
pip 19.1.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)

Both pythons are 'brew' versions. Chris Johns said we should only use
the native installed versions. However other tools I may choose to used
often need to be installed using 'brew' and you would be amazed how many
of those have python as a (brew) dependency.

Looking in /System/Library/Frameworks/Python.framework/Versions
we find folders 2.3	2.5	2.6	2.7	Current
Current contains 2.7.10

Attempt 1 - use the 'brew' versions

>pip3 install doorstop

------- log -----
Collecting doorstop
  Downloading https://files.pythonhosted.org/packages/d3/20/315248b287ee6b3055d23d02c00801a38f44a0baf4ebd225c63bf66c0812/doorstop-1.6-py3-none-any.whl (276kB)
     |████████████████████████████████| 276kB 2.6MB/s
Collecting Markdown<3,>=2 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)
     |████████████████████████████████| 81kB 20.2MB/s
Collecting plantuml-markdown<4.0,>=3.0 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/9a/62/f23ad5e2cf3b196d253cba258bc97862de3057d4861c52df485be11ca060/plantuml_markdown-3.1.3-py3-none-any.whl
Requirement already satisfied: PyYAML<6.0,>=5.1 in /usr/local/lib/python3.7/site-packages (from doorstop) (5.1)
Collecting openpyxl<3.0,>=2.6 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/d6/26/eb28e975b7a37aad38d7ec4f7a0f652bdee6ecf36e6bd06f473c5af9b87b/openpyxl-2.6.4.tar.gz (173kB)
     |████████████████████████████████| 174kB 33.4MB/s
Collecting pyficache==0.3.1 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/5a/97/859698b53eea27b92746105170417d881bfe99304626efc770d505323be4/pyficache-0.3.1.tar.gz
Collecting mdx_outline<2.0.0,>=1.3.0 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/01/88/2c978ced5a64a5fb6be8a788bac64e2cc5eaf603535ccec2b51cd98a388c/mdx_outline-1.3.0.tar.gz
Collecting bottle==0.12.13 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/bd/99/04dc59ced52a8261ee0f965a8968717a255ea84a36013e527944dbf3468c/bottle-0.12.13.tar.gz (70kB)
     |████████████████████████████████| 71kB 20.0MB/s
Collecting python-markdown-math==0.6 (from doorstop)
  Downloading https://files.pythonhosted.org/packages/7c/81/2c86570437821d77b90a6d939d54e11b507b71785850840a5e56d8febeca/python_markdown_math-0.6-py2.py3-none-any.whl
Requirement already satisfied: requests<3,>=2 in /usr/local/lib/python3.7/site-packages (from doorstop) (2.22.0)
Collecting plantuml (from plantuml-markdown<4.0,>=3.0->doorstop)
  Downloading https://files.pythonhosted.org/packages/1e/92/0754877e9f3752216717f53ef3c66b238ffaa4043402f4ecde1173c8d0d5/plantuml-0.2.1-py3-none-any.whl
Collecting jdcal (from openpyxl<3.0,>=2.6->doorstop)
  Downloading https://files.pythonhosted.org/packages/f0/da/572cbc0bc582390480bbd7c4e93d14dc46079778ed915b505dc494b37c57/jdcal-1.4.1-py2.py3-none-any.whl
Collecting et_xmlfile (from openpyxl<3.0,>=2.6->doorstop)
  Downloading https://files.pythonhosted.org/packages/22/28/a99c42aea746e18382ad9fb36f64c1c1f04216f41797f2f0fa567da11388/et_xmlfile-1.0.1.tar.gz
Collecting coverage (from pyficache==0.3.1->doorstop)
  Downloading https://files.pythonhosted.org/packages/93/07/8302163cdbe2008441aa69f2119750110fde15ffd8a56a687311b143365a/coverage-4.5.4-cp37-cp37m-macosx_10_13_x86_64.whl (181kB)
     |████████████████████████████████| 184kB 31.0MB/s
Requirement already satisfied: pygments>=2.0 in /usr/local/lib/python3.7/site-packages (from pyficache==0.3.1->doorstop) (2.4.0)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests<3,>=2->doorstop) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests<3,>=2->doorstop) (2019.3.9)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests<3,>=2->doorstop) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests<3,>=2->doorstop) (1.25.2)
Collecting httplib2 (from plantuml->plantuml-markdown<4.0,>=3.0->doorstop)
  Downloading https://files.pythonhosted.org/packages/d2/84/f97b9efdb17c9b73e133bdbf2b4bfd09cd0be655e36e3ee3c4bec9095048/httplib2-0.14.0-py3-none-any.whl (94kB)
     |████████████████████████████████| 102kB 23.6MB/s
Building wheels for collected packages: openpyxl, pyficache, mdx-outline, bottle, et-xmlfile
  Building wheel for openpyxl (setup.py) ... done
  Stored in directory: /Users/butrfeld/Library/Caches/pip/wheels/58/1d/e3/7c7ee57db55ac00dd5c4632287d8401cdd08ed59c965306f9c
  Building wheel for pyficache (setup.py) ... done
  Stored in directory: /Users/butrfeld/Library/Caches/pip/wheels/ea/6d/01/c61eda6fd06bd626345626d0bb00621c4ff49c09231e760be4
  Building wheel for mdx-outline (setup.py) ... done
  Stored in directory: /Users/butrfeld/Library/Caches/pip/wheels/07/89/02/c9ce27a8c12df62b57aed406e996663b3394eec9e9bc7897dd
  Building wheel for bottle (setup.py) ... done
  Stored in directory: /Users/butrfeld/Library/Caches/pip/wheels/76/a0/b4/2a3ee1a32d0506931e558530258de1cc04b628eff1b2f008e0
  Building wheel for et-xmlfile (setup.py) ... done
  Stored in directory: /Users/butrfeld/Library/Caches/pip/wheels/2a/77/35/0da0965a057698121fc7d8c5a7a9955cdbfb3cc4e2423cad39
Successfully built openpyxl pyficache mdx-outline bottle et-xmlfile
Installing collected packages: Markdown, httplib2, plantuml, plantuml-markdown, jdcal, et-xmlfile, openpyxl, coverage, pyficache, mdx-outline, bottle, python-markdown-math, doorstop
Successfully installed Markdown-2.6.11 bottle-0.12.13 coverage-4.5.4 doorstop-1.6 et-xmlfile-1.0.1 httplib2-0.14.0 jdcal-1.4.1 mdx-outline-1.3.0 openpyxl-2.6.4 plantuml-0.2.1 plantuml-markdown-3.1.3 pyficache-0.3.1 python-markdown-math-0.6
~>
------- end ----- took several seconds

doorstop --help works

I succesfully completed their mini-tutorial introduction.


Regards, Andrew Butterfield
--------------------------------------------------------------------
Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
Lero at TCD, Head of Foundations & Methods Research Group
School of Computer Science and Statistics,
Room G.39, O'Reilly Institute, Trinity College, University of Dublin
                         http://www.scss.tcd.ie/Andrew.Butterfield/
--------------------------------------------------------------------



More information about the users mailing list