Skip to content

Commit

Permalink
fix numpy version for deprecation of np.float, np.int, np.bool etc
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Steinbach <p.steinbach@hzdr.de>
  • Loading branch information
psteinb committed Feb 6, 2023
1 parent 6cc98fc commit 44579e3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch>=1.1
numpy
numpy<1.24
scipy
sympy
pymanopt
Expand Down
46 changes: 23 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@

from setuptools import setup, find_packages
from setuptools import find_packages, setup

about = {}
with open("e2cnn/__about__.py") as fp:
exec(fp.read(), about)

install_requires = [
'torch',
'numpy',
'scipy',
'sympy',
"torch",
"numpy<1.24",
"scipy",
"sympy",
]


setup_requires = []
tests_require = ['scikit-learn', 'scikit-image']
tests_require = ["scikit-learn", "scikit-image"]
extras_require = {
# 'RBF-FD and Gaussians': ['cython', 'RBF @ git+https://github.com/treverhines/RBF']
}

with open("README.md", 'r', encoding='utf-8') as f:
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()

download_url = 'https://github.com/QUVA-Lab/e2cnn/archive/v{}.tar.gz'.format(about['__version__'])
download_url = "https://github.com/QUVA-Lab/e2cnn/archive/v{}.tar.gz".format(
about["__version__"]
)

setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
author=about['__author__'],
author_email=about['__email__'],
url=about['__url__'],
name=about["__title__"],
version=about["__version__"],
description=about["__summary__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__url__"],
download_url=download_url,
license=about['__license__'],
license=about["__license__"],
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=['test', 'test.*']),
python_requires='>=3.7',
packages=find_packages(exclude=["test", "test.*"]),
python_requires=">=3.7",
keywords=[
'pytorch',
'cnn',
'convolutional-networks'
'equivariant',
'isometries',
"pytorch",
"cnn",
"convolutional-networks" "equivariant",
"isometries",
],
install_requires=install_requires,
setup_requires=setup_requires,
Expand Down

0 comments on commit 44579e3

Please sign in to comment.