Skip to content

Commit

Permalink
Bump Python (#168)
Browse files Browse the repository at this point in the history
* migrate to pyproject.toml

* bump python

* remove inaccurate topics from pyproject.toml

* Revert "remove inaccurate topics from pyproject.toml"

This reverts commit 46a5e72.

* remove inaccurate topic metadata
  • Loading branch information
ziw-liu authored Jun 13, 2024
1 parent be20c8f commit c691f2f
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.10', '3.11', '3.12']

steps:
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Please cite this repository, along with the relevant preprint or paper, if you u
(Optional but recommended) install [anaconda](https://www.anaconda.com/products/distribution) and create a virtual environment:

```sh
conda create -y -n waveorder python=3.9
conda create -y -n waveorder python=3.11
conda activate waveorder
```

Expand Down
59 changes: 58 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,66 @@ build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "waveorder/_version.py"

[project]
name = "waveorder"
description = "Wave-optical simulations and deconvolution of optical properties"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "CZ Biohub SF", email = "[email protected]" }]
maintainers = [
{ name = "Talon Chandler", email = "[email protected]" },
{ name = "Shalin Mehta", email = "[email protected]" },
]
keywords = [
"simulation",
'optics',
'phase',
'scattering',
'polarization',
'label-free',
'permittivity',
"reconstruction-algorithm",
'qlipp',
'mipolscope',
'permittivity-tensor-imaging',
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
]
dependencies = [
"numpy>=1.21",
"matplotlib>=3.1.1",
"scipy>=1.3.0",
"pywavelets>=1.1.1",
"ipywidgets>=7.5.1",
"torch>=2.2.1",
]
dynamic = ["version"]

[project.optional-dependencies]
dev = ["pytest", "pytest-cov"]

[project.urls]
Homepage = "https://github.com/mehta-lab/waveorder"
Repository = "https://github.com/mehta-lab/waveorder"
Issues = "https://github.com/mehta-lab/waveorder/issues"

[tool.black]
line-length = 79

[tool.isort]
profile = "black"
line_length = 79
line_length = 79
52 changes: 0 additions & 52 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit c691f2f

Please sign in to comment.