Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ git clone git@github.com:qctrl/python-open-controls.git

Once the clone is complete, you have two options:

1. Using setup.py

```shell
cd python-open-controls
python setup.py develop
```

**Note:** We recommend installing using `develop` to point your installation
at the source code in the directory where you cloned the repository.

1. Using Poetry

Follow the instructions from the
Expand All @@ -75,6 +65,16 @@ Once the clone is complete, you have two options:
poetry install
```

1. Using pip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Using pip
2. Using pip

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are automatically numbered.


```shell
cd python-open-controls
poetry export --dev -f requirements.txt --output requirements.txt --without-hashes
pip install -r requirements.txt
pip install -e .
rm requirements.txt
```

Once installed via one of the above methods, test your installation by running
`pytest`
in the `python-open-controls` directory.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ wheels/
*.egg-info/
.installed.cfg
*.egg
requirements.txt

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
16 changes: 0 additions & 16 deletions README.rst

This file was deleted.

22 changes: 11 additions & 11 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ cloned using
Once the clone is complete, you have two options:


#.
Using setup.py

.. code-block:: shell

cd python-open-controls
python setup.py develop

**Note:** We recommend installing using ``develop`` to point your installation
at the source code in the directory where you cloned the repository.

#.
Using Poetry

Expand All @@ -68,6 +57,17 @@ Once the clone is complete, you have two options:
cd python-open-controls
poetry install

#.
Using pip

.. code-block:: shell

cd python-open-controls
poetry export --dev -f requirements.txt --output requirements.txt --without-hashes
pip install -r requirements.txt
pip install -e .
rm requirements.txt

Once installed via one of the above methods, test your installation by running
``pytest``
in the ``python-open-controls`` directory.
Expand Down
Loading