Skip to content

Commit

Permalink
Merge pull request #93 from matterhorn103/pyproject
Browse files Browse the repository at this point in the history
Move to modern project management with pyproject.toml
  • Loading branch information
ghutchis authored Sep 25, 2024
2 parents f3df0cc + daa45dd commit 73d46dd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4

# build the doxygen XML for breathe
# build the doxygen XML for breathe
- name: Checkout openchemistry
uses: actions/checkout@v4
with:
Expand All @@ -38,9 +38,16 @@ jobs:
sudo apt-get -qq update
sudo apt-get -qq install doxygen ninja-build libeigen3-dev libglew-dev libxml2-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5x11extras5-dev libqt5svg5-dev
- name: Install uv
uses: astral-sh/setup-uv@v2

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Install Sphinx and requirements
run: |
pip install -U sphinx myst-parser breathe pydata-sphinx-theme sphinxext-rediraffe sphinx-design sphinx-copybutton linkify-it-py pygments
run: uv pip install --system --break-system-packages -r pyproject.toml

- name: Configure
run: |
Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[project]
name = "two-avogadro-cc"
version = "2.dev0"
description = "Documentation and development website for Avogadro2"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"breathe>=4.35.0",
"linkify-it-py>=2.0.3",
"myst-parser>=4.0.0",
"pydata-sphinx-theme>=0.15.4",
"sphinx>=8.0.2",
"sphinx-copybutton>=0.5.2",
"sphinx-design>=0.6.1",
"sphinxext-rediraffe>=0.2.7",
"sphinx-togglebutton>=0.3.2",
]
8 changes: 0 additions & 8 deletions source/requirements.txt

This file was deleted.

0 comments on commit 73d46dd

Please sign in to comment.