-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* proper number + fisrts shit release file * Update RELEASES.md Co-authored-by: Matthew Feickert <[email protected]> * remove double sentence * remove jax constraints in setup.py * ad requiremet_all to manifest for a working source distibution * update setup.py with proiper optional install * small update reelase notes --------- Co-authored-by: Matthew Feickert <[email protected]> Co-authored-by: Cédric Vincent-Cuaz <[email protected]>
- Loading branch information
1 parent
5c9c70a
commit 2987765
Showing
5 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
# Author: Remi Flamary <[email protected]> | ||
# | ||
# License: MIT License | ||
|
||
import os | ||
import re | ||
|
@@ -46,8 +49,6 @@ | |
sdk_path = subprocess.check_output(['xcrun', '--show-sdk-path']) | ||
os.environ['CFLAGS'] = '-isysroot "{}"'.format(sdk_path.rstrip().decode("utf-8")) | ||
|
||
with open('requirements_all.txt') as f: | ||
optional_requirements = f.read().splitlines() | ||
|
||
setup( | ||
name='POT', | ||
|
@@ -74,15 +75,16 @@ | |
data_files=[], | ||
install_requires=["numpy>=1.16", "scipy>=1.6"], | ||
extras_require={ | ||
'backend-numpy': [], # in requirements. | ||
'backend-jax': ['jax<=0.4.24', 'jaxlib<=0.4.24'], | ||
'backend-cupy': [], # should be installed with conda, not pip, or figure out what CUDA version above. | ||
'backend-numpy': [], # in requirements. | ||
'backend-jax': ['jax', 'jaxlib'], | ||
'backend-cupy': [], # should be installed with conda, not pip | ||
'backend-tf': ['tensorflow'], | ||
'backend-torch': ['torch'], | ||
'cvxopt': ['cvxopt'], # on it's own to prevent accidental GPL violations | ||
'cvxopt': ['cvxopt'], # on it's own to prevent accidental GPL violations | ||
'dr': ['scikit-learn', 'pymanopt', 'autograd'], | ||
'gnn': ['torch', 'torch_geometric'], | ||
'all': optional_requirements | ||
'plot': ['matplotlib'], | ||
'all': ['jax', 'jaxlib', 'tensorflow', 'torch', 'cvxopt', 'scikit-learn', 'pymanopt', 'autograd', 'torch_geometric', 'matplotlib'] | ||
}, | ||
python_requires=">=3.7", | ||
classifiers=[ | ||
|