diff --git a/setup.py b/setup.py index 1455d7b..7f2fd4e 100644 --- a/setup.py +++ b/setup.py @@ -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: @@ -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={