Skip to content

Commit

Permalink
Fix the issue of "Can't have direct dependency" from git source codes
Browse files Browse the repository at this point in the history
  • Loading branch information
FanwangM committed Oct 3, 2024
1 parent 8602c04 commit 5d10773
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
python-version: "3.11"
- name: Install pypa/build
run: >-
# install from github
# TODO: change to pypi once the release of qc-grid is made
python -m pip install git+https://github.com/theochem/grid.git@master
python -m pip install build
- name: Build package
run: >-
Expand Down
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ Changelog = "https://github.com/theochem/atomdb/blob/main/CHANGELOG.md"

[project.optional-dependencies]
dev = [
"pytest >=2.6",
"pytest>=8.3.3",
"pyscf",
"qc-gbasis@git+https://github.com/theochem/gbasis.git@master",
"qc-grid@git+https://github.com/theochem/grid.git@master",
"qc-iodata@git+https://github.com/theochem/iodata.git@main",
# "qc-gbasis@git+https://github.com/theochem/gbasis.git@master",
"qc-gbasis",
# "qc-grid@git+https://github.com/theochem/grid.git@master",
# TODO: uncomment when grid is available on PyPI
# "qc-grid",
# "qc-iodata@git+https://github.com/theochem/iodata.git@main",
"qc-iodata",
]
test_extra = [
"pytest-md",
Expand Down

0 comments on commit 5d10773

Please sign in to comment.