Skip to content

Commit

Permalink
Remove dependency on pytorch (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Nov 21, 2024
1 parent 0a2a590 commit a24ad15
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@ def make_extension():
)


def get_requirements():
pytorch_dep = os.getenv("TORCH_PACKAGE_NAME", "torch")
if os.getenv("PYTORCH_VERSION"):
pytorch_dep += "==" + os.getenv("PYTORCH_VERSION")

return [pytorch_dep]


if __name__ == "__main__":

with open("README.md") as f:
Expand All @@ -135,7 +127,7 @@ def get_requirements():
packages=find_packages(exclude=("test",)),
package_data={PACKAGE_NAME: ["*.dll", "*.dylib", "*.so"]},
zip_safe=False,
install_requires=get_requirements(),
install_requires=[],
python_requires=">=3.9",
ext_modules=[make_extension()],
cmdclass={
Expand Down

0 comments on commit a24ad15

Please sign in to comment.