You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by sk...@apache.org on 2023/06/30 03:03:40 UTC
[incubator-sdap-nexus] branch SDAP-473 updated: fix typo
This is an automated email from the ASF dual-hosted git repository.
skperez pushed a commit to branch SDAP-473
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/SDAP-473 by this push:
new 189ac35 fix typo
189ac35 is described below
commit 189ac357dfe0504023c76fc8e2571cb61dbd239e
Author: skorper <st...@gmail.com>
AuthorDate: Thu Jun 29 20:03:30 2023 -0700
fix typo
---
analysis/setup.py | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/analysis/setup.py b/analysis/setup.py
index c09fe4a..8fbc617 100644
--- a/analysis/setup.py
+++ b/analysis/setup.py
@@ -17,19 +17,18 @@
import setuptools
from subprocess import check_call, CalledProcessError
-# with open('../VERSION.txt', 'r') as f:
-# __version__ = f.read()
-__version__ = '1.1.0a3'
+with open('../VERSION.txt', 'r') as f:
+ __version__ = f.read()
-# try:
-# check_call(['mamba', 'install', '-y', '-c', 'conda-forge', '--file', 'conda-requirements.txt'])
-# except (CalledProcessError, IOError) as e:
-# print('Failed install with mamba; falling back to conda')
-# try:
-# check_call(['conda', 'install', '-y', '-c', 'conda-forge', '--file', 'conda-requirements.txt'])
-# except (CalledProcessError, IOError) as e:
-# raise EnvironmentError("Error installing conda packages", e)
+try:
+ check_call(['mamba', 'install', '-y', '-c', 'conda-forge', '--file', 'conda-requirements.txt'])
+except (CalledProcessError, IOError) as e:
+ print('Failed install with mamba; falling back to conda')
+ try:
+ check_call(['conda', 'install', '-y', '-c', 'conda-forge', '--file', 'conda-requirements.txt'])
+ except (CalledProcessError, IOError) as e:
+ raise EnvironmentError("Error installing conda packages", e)
setuptools.setup(