Skip to content

Commit

Permalink
revert more np related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Sep 12, 2024
1 parent c9e8e5f commit 8875487
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"cython>=3",
"numpy>=1.26,<2",
"nvidia-ml-py3>=7.352.0",
"pymatgen>=2024.9.10",
"pymatgen<2024.9.10",
"torch>=1.11.0",
"typing-extensions>=4.12",
]
Expand Down Expand Up @@ -52,7 +52,6 @@ requires = [
"Cython",
"setuptools>=65",
"wheel",
"numpy>=2.0.0",
]
build-backend = "setuptools.build_meta"

Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from __future__ import annotations

import numpy as np
from setuptools import Extension, setup

ext_modules = [Extension("chgnet.graph.cygraph", ["chgnet/graph/cygraph.pyx"])]

setup(
ext_modules=ext_modules,
setup_requires=["Cython"],
include_dirs=[np.get_include()],
)

0 comments on commit 8875487

Please sign in to comment.