amuse-fi
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: amuse-fi | ||
| Version: 2023.3.0 | ||
| Version: 2023.4.0 | ||
| Summary: The Astrophysical Multipurpose Software Environment - FI | ||
@@ -5,0 +5,0 @@ Home-page: http://www.amusecode.org/ |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: amuse-fi | ||
| Version: 2023.3.0 | ||
| Version: 2023.4.0 | ||
| Summary: The Astrophysical Multipurpose Software Environment - FI | ||
@@ -5,0 +5,0 @@ Home-page: http://www.amusecode.org/ |
@@ -1,1 +0,1 @@ | ||
| from .interface import Fi | ||
| from .interface import Fi, FiMap |
| # coding: utf-8 | ||
| # file generated by setuptools_scm | ||
| # don't change, don't track in version control | ||
| version = '2023.3.0' | ||
| version_tuple = (2023, 3, 0) | ||
| version = '2023.4.0' | ||
| version_tuple = (2023, 4, 0) |
@@ -33,6 +33,7 @@ | ||
| from distutils.errors import DistutilsError | ||
| from distutils.command.build import build | ||
| from distutils.command.clean import clean | ||
| from distutils.command.install import install | ||
| from setuptools.command.build import build | ||
| from setuptools.command.develop import develop | ||
| from setuptools.command.editable_wheel import editable_wheel | ||
@@ -1044,3 +1045,3 @@ from subprocess import call, Popen, PIPE, STDOUT | ||
| if not_build: | ||
| self.announce("Community codes not built (because of errors):", level = level) | ||
| self.announce("Community codes not built (because of errors/ missing libraries):", level = level) | ||
| self.announce("="*80, level = level) | ||
@@ -1050,15 +1051,15 @@ for x in not_build: | ||
| if not_build_special: | ||
| self.announce("Optional builds failed, need special libraries:", level = level) | ||
| self.announce("Optional builds skipped, need special libraries:", level = level) | ||
| for x in sorted(not_build_special.keys()): | ||
| self.announce(' * {0} - {1}'.format(x, ', '.join(not_build_special[x])), level = level) | ||
| if is_cuda_needed: | ||
| self.announce("Optional builds failed, need CUDA/GPU libraries:", level = level) | ||
| self.announce("Optional builds skipped, need CUDA/GPU libraries:", level = level) | ||
| for x in is_cuda_needed: | ||
| self.announce(' * {0}'.format(x), level = level) | ||
| if are_python_imports_needed: | ||
| self.announce("Optional builds failed, need additional python packages:", level = level) | ||
| self.announce("Optional builds skipped, need additional python packages:", level = level) | ||
| for x in are_python_imports_needed: | ||
| self.announce(' * {0}'.format(x), level = level) | ||
| if is_download_needed: | ||
| self.announce("Optional builds failed, need separate download", level = level) | ||
| self.announce("Optional builds skipped, need separate download", level = level) | ||
| for x in is_download_needed: | ||
@@ -1091,2 +1092,3 @@ self.announce(' * {0} , make {0}.code DOWNLOAD_CODES=1'.format(x), level = level) | ||
| ) | ||
| self.announce("(not all codes and libraries need to be built)") | ||
@@ -1256,2 +1258,16 @@ if self.config and (not hasattr(self.config, 'java') or not hasattr(self.config.java, 'is_enabled')): | ||
| class Editable_wheel(editable_wheel): | ||
| sub_commands=list(develop.sub_commands) | ||
| def run(self): | ||
| build.sub_commands.remove( ('build_codes', None) ) | ||
| build.sub_commands.append( ('build_libraries_in_place', None) ) | ||
| # this ensures sub commands are run first (only run once) | ||
| for cmd_name in self.get_sub_commands(): | ||
| self.run_command(cmd_name) | ||
| editable_wheel.run(self) | ||
| def setup_commands(): | ||
@@ -1270,3 +1286,4 @@ mapping_from_command_name_to_command_class = { | ||
| 'develop' : Develop, | ||
| 'develop_build' : BuildCodes_inplace | ||
| 'develop_build' : BuildCodes_inplace, | ||
| 'editable_wheel' : Editable_wheel | ||
| } | ||
@@ -1273,0 +1290,0 @@ |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
32050730
05120
0.23%