Skip to content

Commit

Permalink
Update scipy version, bump poly_matrix to 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederike Duembgen committed Oct 10, 2024
1 parent e1c9cbb commit 2a732ec
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ For more usage examples, check `_test/test_poly_matrix.py`.

## Installation

This software was built for `Python3.8.10` on `Ubuntu 20.04.1`. To install the requirements, run

This software was last built using `Python 3.10.15` on `Ubuntu 22.04.1`. If you have any problems with installation, feel free to open an issue. You can install the package locally using
```
pip install -r requirements.txt
conda env create -f environment.yml
conda activate poly_matrix
```

To check that the installation was successful, run
To check that the installation was successful, you can run
```
pytest .
```

To run a simple example, you can run
```
python example.py
```
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
print("Set up matrix A:")
print(A)
print("Augmented matrix:")
A.print(Q.variable_dict)
A.print(Q.variable_dict_i)

# create sparse Q matrix
H = Q + A
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pandas>=1.5.3
numpy>=1.24.1
scipy==1.9.1
scipy
pytest>=7.2.1
matplotlib>=3.6.2
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = poly_matrix
version = 0.1.1
version = 0.2
authors = [
{name = "Frederike Dümbgen", email = "frederike.dumbgen@utoronto.ca" },
{name = "Connor Holmes", email = "connor.holmes@mail.utoronto.ca" }]
Expand All @@ -15,8 +15,6 @@ license = { file="LICENSE" }

[options]
packages = find:
install_requires=
scipy==1.9.1

[options.packages.find] # do not mistake tests/ for a package directory
exclude=_test*
Expand Down

0 comments on commit 2a732ec

Please sign in to comment.