Skip to content

Commit

Permalink
try without setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Nov 24, 2023
1 parent dcbcfc7 commit 2714238
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install wheel
pip install ".[dev]"
pip install .
pip install -r requirements-dev.txt
- name: Install pytest
run: |
pip install pytest pytest-cov
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ build
dist
.ipynb_checkpoints
*.so
*.txt
!requirements.txt
*.nb
examples/icon.png
examples/gif.py
Expand Down
13 changes: 0 additions & 13 deletions setup.py → ___setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
"numpy",
"attrs",
],
extras_require={
"dev": [
"plotly",
"kaleido",
"jraph",
"flax",
"dm-haiku",
"optax",
"tqdm",
"pytest",
"nox",
],
},
url="https://e3nn-jax.readthedocs.io",
license="Apache-2.0",
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ def tests(session):
session.install("pytest")
session.run("pip", "install", ".")
session.run("python", "examples/irreps_array.py")
session.run("pip", "install", ".[dev]")
session.run("pip", "install", "-r", "requirements-dev.txt")
session.run("pytest")
9 changes: 9 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
plotly
kaleido
jraph
flax
dm-haiku
optax
tqdm
pytest
nox

0 comments on commit 2714238

Please sign in to comment.