Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix numpy version for deprecation of np.float, np.int, np.bool etc #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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