.. superscreen
************
Installation
************
.. role:: bash(code)
:language: bash
.. role:: python(code)
:language: python
``SuperScreen`` requires ``Python >=3.9, <3.15`` and can be installed either from
`PyPI `_, the Python Package index,
or from the ``SuperScreen`` `GitHub repository `_.
We recommend creating a new
`conda environment `_
for ``SuperScreen`` to avoid dependency conflicts with other packages. To create a new conda environment called
``superscreen``, run ``conda create --name superscreen python="3.x"``, where ``x`` is one of ``{9, 10, 11, 12, 13, 14}``.
After the environment has been created, run ``conda activate superscreen`` to activate it.
Install via ``pip``
-------------------
From `PyPI `_, the Python Package Index:
.. code-block:: bash
pip install superscreen
From the `SuperScreen GitHub repository `_:
.. code-block:: bash
pip install git+https://github.com/loganbvh/superscreen.git
Developer Installation
----------------------
To install an editable version of ``SuperScreen``, run:
.. code-block:: bash
git clone https://github.com/loganbvh/superscreen.git
cd superscreen
pip install -e .
Verify the installation
-----------------------
To verify your installation by running the ``superscreen`` test suite,
execute the following commands in a Python session:
.. code-block:: python
>>> import superscreen.testing as st
>>> st.run()
If you prefer, you can also run the ``superscreen`` tests in a single line:
.. code-block:: bash
python -m superscreen.testing