Skip to content

Commit

Permalink
redo pyproject.toml and env.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael J. Wilson committed Jan 31, 2024
1 parent efb597d commit 9afc709
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 17 deletions.
30 changes: 17 additions & 13 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,34 @@ git config --global credential.helper "cache --timeout 7200"
conda config --set solver libmamba

> create a python virtual environment
mkdir pudev
mkdir ~/software/pudev

virtualenv pudev
virtualenv ~/software/pudev

source ~/software/pudev/bin/activate

> pip install maturin
pip install -U pip maturin

> pip install poetry, pre-commit, etc.
pip install poetry
pip install pre-commit
pip install polars
pip install pytest-cov
pip install sphinx
pip install line_profiler
pip install pipx
pip install furo

> install ruff
> see https://github.com/astral-sh/ruff
pip install ruff

> pytest
> https://docs.pytest.org/en/7.4.x/how-to/fixtures.html
pip install pytest

> optional
pip install polars
pip install pytest-cov

> pipx installs
pipx install poetry

Expand All @@ -29,16 +41,8 @@ pipx install poetry
> https://github.com/PyO3/pyo3
pipx install maturin

> install ruff
> see https://github.com/astral-sh/ruff
pip install ruff

> rust-clippy
> https://github.com/rust-lang/rust-clippy
> apptainer / singularity
https://apptainer.org/docs/user/latest/quick_start.html

> pytest
> https://docs.pytest.org/en/7.4.x/how-to/fixtures.html
pip install pytest
50 changes: 46 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,52 @@ license = {file = "LICENSE"}
requires-python = ">=3.9.18"
repository = "https://github.com/michaelJwilson/foundation"
dependencies = [
"numpy",
"furo"="^2024.1.29",
"sphinx"="7.1.2",
"sphinx-rtd-theme"="1.3.0rc1",
"alabaster==0.7.16",
"argcomplete==3.2.2",
"Babel==2.14.0",
"beautifulsoup4==4.12.3",
"certifi==2023.11.17",
"cfgv==3.4.0",
"charset-normalizer==3.3.2",
"click==8.1.7",
"distlib==0.3.8",
"docutils==0.20.1",
"exceptiongroup==1.2.0",
"filelock==3.13.1",
"furo==2024.1.29",
"identify==2.5.33",
"idna==3.6",
"imagesize==1.4.1",
"iniconfig==2.0.0",
"Jinja2==3.1.3",
"line-profiler==4.1.2",
"MarkupSafe==2.1.4",
"maturin==1.4.0",
"nodeenv==1.8.0",
"packaging==23.2",
"pipx==1.4.3",
"platformdirs==4.2.0",
"pluggy==1.4.0",
"pre-commit==3.6.0",
"Pygments==2.17.2",
"pytest==8.0.0",
"PyYAML==6.0.1",
"requests==2.31.0",
"ruff==0.1.15",
"snowballstemmer==2.2.0",
"soupsieve==2.5",
"Sphinx==7.2.6",
"sphinx-basic-ng==1.0.0b2",
"sphinxcontrib-applehelp==1.0.8",
"sphinxcontrib-devhelp==1.0.6",
"sphinxcontrib-htmlhelp==2.0.5",
"sphinxcontrib-jsmath==1.0.1",
"sphinxcontrib-qthelp==1.0.7",
"sphinxcontrib-serializinghtml==1.1.10",
"tomli==2.0.1",
"urllib3==2.2.0",
"userpath==1.9.1",
"virtualenv==20.25.0",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 9afc709

Please sign in to comment.