Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scipy version, bump poly_matrix to 0.2 #17

Merged
merged 1 commit into from
Oct 10, 2024
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
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 = "[email protected]" },
{name = "Connor Holmes", email = "[email protected]" }]
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
Loading