cosmic-popsynth 3.4.14__tar.gz → 3.4.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/workflows/build_wheels_and_publish.yml +20 -8
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.gitignore +3 -1
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/PKG-INFO +1 -16
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/meson.build +19 -21
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/pyproject.toml +4 -18
- cosmic_popsynth-3.4.16/src/cosmic/_version.py +1 -0
- cosmic_popsynth-3.4.16/src/cosmic/bse_utils/meson.build +10 -0
- cosmic_popsynth-3.4.16/src/cosmic/meson.build +21 -0
- cosmic_popsynth-3.4.16/src/cosmic/sample/cmc/meson.build +10 -0
- cosmic_popsynth-3.4.16/src/cosmic/sample/meson.build +13 -0
- cosmic_popsynth-3.4.16/src/cosmic/sample/sampler/meson.build +12 -0
- cosmic_popsynth-3.4.16/src/cosmic/tests/meson.build +11 -0
- cosmic_popsynth-3.4.14/src/cosmic/_version.py +0 -1
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.codecov.yml +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.gitattributes +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/ISSUE_TEMPLATE/general_issue.md +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/ISSUE_TEMPLATE/unexpected-stellar-evolutionary-behavior.md +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/workflows/deploy-github-pages.yml +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/workflows/github_registory.yml +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/workflows/python-package.yml +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.readthedocs.yml +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.vscode/launch.json +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.vscode/tasks.json +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/Dockerfile +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/LICENSE +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/MANIFEST.in +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/README.md +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/bin/cosmic-pop +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/changelog.md +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/ci/compile_benchmark.sh +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/ci/run-tests.sh +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/debug/create_binary_in.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/Makefile +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/_static/cosmic-docs.css +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/_templates/layout.html +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/conf.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/examples/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/fixedpop/dat_DeltaBurst_13_14_13_14.h5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/fixedpop/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/inifile/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/inifile/qcrit_table.csv +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/install/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/output_info/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/runpop/index.rst +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/examples/CMC_Params.ini +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/examples/Params.ini +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/requirements.txt +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/Match.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/__init__.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/bse_utils/__init__.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/bse_utils/zcnsts.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/bse_utils/zdata.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/checkstate.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/evolve.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/filter.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/get_commit_hash.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/plotting.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/__init__.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/cmc/__init__.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/cmc/elson.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/cmc/king.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/initialbinarytable.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/initialcmctable.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/sampler/__init__.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/sampler/cmc.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/sampler/independent.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/sampler/multidim.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/sample/sampler/sampler.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/Makefile +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/assign_remnant.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/benchmarkevolv2.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/bpp_array.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/bse.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/checkstate.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/checkstate.h +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/comenv.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/comprad.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/concatkstars.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/const_bse.h +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/corerd.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/deltat.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/dgcore.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/evolv1.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/evolv2.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/gntage.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/hrdiag.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/hrdiag_remnant.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/instar.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/int64.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/int64.h +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/int64.h.in +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/kick.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/mix.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/mlwind.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/mrenv.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/ran3.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/rl.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/sse.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/star.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/taus113-ran3.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/taus113tester.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/tausworth.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/tausworth.h +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/test_bse.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/zcnsts.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/zdata.h +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/src/zfuncs.f +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/GW_dat.h5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/Kroupa93.npy +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/Params.ini +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/bpp_array_ind_sampling.npy +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/cmc_elson_test.npz +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/cmc_king_test.npz +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/cmc_plummer_test.npz +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/dat_ThinDisk_10_12_10_12.h5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/dat_ThinDisk_11_11_3.h5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/init_conditions_ind_sampling.npy +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/initial_conditions_for_testing.hdf5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/input_cmc.fits +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/input_cmc.hdf5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/unit_test_results.hdf5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/unit_tests_results.hdf5 +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/utils_test.hdf +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/test_evolve.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/test_match.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/test_sample.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/test_utils.py +0 -0
- {cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/utils.py +0 -0
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/.github/workflows/build_wheels_and_publish.yml
RENAMED
|
@@ -10,8 +10,10 @@ env:
|
|
|
10
10
|
CIBW_BUILD: "cp39-* cp310-*"
|
|
11
11
|
CIBW_SKIP: "*-win32 *musllinux*"
|
|
12
12
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
|
13
|
+
CIBW_ARCHS_MACOS: "x86_64 arm64"
|
|
13
14
|
CIBW_BEFORE_BUILD: pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
|
|
14
15
|
CIBW_BUILD_VERBOSITY: "1"
|
|
16
|
+
CIBW_ENVIRONMENT_MACOS: "FC=gfortran"
|
|
15
17
|
|
|
16
18
|
jobs:
|
|
17
19
|
build-wheels-and-dist:
|
|
@@ -20,6 +22,7 @@ jobs:
|
|
|
20
22
|
strategy:
|
|
21
23
|
matrix:
|
|
22
24
|
os: [ubuntu-latest, macos-latest]
|
|
25
|
+
python-version: [3.9, "3.10"]
|
|
23
26
|
|
|
24
27
|
steps:
|
|
25
28
|
- uses: actions/checkout@v3
|
|
@@ -30,24 +33,33 @@ jobs:
|
|
|
30
33
|
with:
|
|
31
34
|
python-version: "3.10"
|
|
32
35
|
|
|
33
|
-
- name:
|
|
36
|
+
- name: link gfortran and hdf5
|
|
34
37
|
if: runner.os == 'macOS'
|
|
35
38
|
run: |
|
|
36
|
-
sudo ln -s /opt/homebrew/bin/gfortran-
|
|
39
|
+
sudo ln -s /opt/homebrew/bin/gfortran-12 /usr/local/bin/gfortran
|
|
40
|
+
brew reinstall hdf5
|
|
37
41
|
|
|
38
42
|
- name: Install numpy
|
|
39
43
|
run: |
|
|
40
44
|
python -m pip install --upgrade pip
|
|
41
|
-
python -m pip install numpy h5py versioneer
|
|
42
|
-
|
|
43
|
-
- name:
|
|
45
|
+
python -m pip install numpy h5py versioneer
|
|
46
|
+
|
|
47
|
+
- name: Install dependencies
|
|
48
|
+
run: |
|
|
49
|
+
python -m pip install cibuildwheel==2.17.0 setuptools wheel build meson-python ninja meson
|
|
50
|
+
|
|
51
|
+
- name: Build source distribution (sdist)
|
|
44
52
|
run: |
|
|
45
|
-
python -m
|
|
46
|
-
|
|
47
|
-
|
|
53
|
+
python -m build --sdist --outdir dist
|
|
54
|
+
|
|
55
|
+
- name: Build wheels using cibuildwheel
|
|
56
|
+
run: |
|
|
57
|
+
python -m cibuildwheel --output-dir dist
|
|
58
|
+
|
|
48
59
|
- uses: actions/upload-artifact@v3
|
|
49
60
|
with:
|
|
50
61
|
path: ./dist/*.tar.gz
|
|
62
|
+
|
|
51
63
|
- uses: actions/upload-artifact@v3
|
|
52
64
|
with:
|
|
53
65
|
path: ./dist/*.whl
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cosmic-popsynth
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.16
|
|
4
4
|
Summary: a Python-interfaced binary population synthesis suite
|
|
5
5
|
Author: Scott Coughlin, Michael Zevin, Carl L. Rodriguez, Tom Wagg
|
|
6
6
|
Author-Email: Katelyn Breivik <katie.breivik@gmail.com>
|
|
@@ -23,21 +23,6 @@ Requires-Dist: h5py
|
|
|
23
23
|
Requires-Dist: schwimmbad
|
|
24
24
|
Requires-Dist: matplotlib
|
|
25
25
|
Requires-Dist: importlib-metadata
|
|
26
|
-
Requires-Dist: pytest; extra == "test"
|
|
27
|
-
Requires-Dist: pytest-xdist; extra == "test"
|
|
28
|
-
Requires-Dist: pytest-cov; extra == "test"
|
|
29
|
-
Requires-Dist: flake8; extra == "test"
|
|
30
|
-
Requires-Dist: coverage; extra == "test"
|
|
31
|
-
Requires-Dist: sphinx; extra == "docs"
|
|
32
|
-
Requires-Dist: numpydoc; extra == "docs"
|
|
33
|
-
Requires-Dist: sphinx-bootstrap-theme; extra == "docs"
|
|
34
|
-
Requires-Dist: sphinxcontrib-programoutput; extra == "docs"
|
|
35
|
-
Requires-Dist: sphinx-automodapi; extra == "docs"
|
|
36
|
-
Requires-Dist: ipython; extra == "docs"
|
|
37
|
-
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
38
|
-
Requires-Dist: pickleshare; extra == "docs"
|
|
39
|
-
Provides-Extra: test
|
|
40
|
-
Provides-Extra: docs
|
|
41
26
|
Description-Content-Type: text/markdown
|
|
42
27
|
|
|
43
28
|
# COSMIC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
project('cosmic',
|
|
2
2
|
'c',
|
|
3
3
|
'fortran',
|
|
4
|
-
version : '3.4.
|
|
4
|
+
version : '3.4.16',
|
|
5
5
|
default_options: ['warning_level=0', 'optimization=3'],
|
|
6
6
|
)
|
|
7
7
|
|
|
@@ -11,23 +11,21 @@ ff = meson.get_compiler('fortran')
|
|
|
11
11
|
f_args = ff.get_supported_arguments('-fPIC')
|
|
12
12
|
add_project_arguments(f_args, language: 'fortran')
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
py3 = import('python').find_installation(pure: false)
|
|
15
16
|
|
|
16
17
|
numpy_include_dir = run_command(py3, ['-c', 'import numpy; print(numpy.get_include())'], check: true).stdout().strip()
|
|
17
18
|
f2py_include_dir = run_command(py3, ['-c', 'import numpy.f2py; print(numpy.f2py.get_include())'], check: true).stdout().strip()
|
|
18
19
|
inc_np = include_directories(numpy_include_dir, f2py_include_dir)
|
|
20
|
+
|
|
19
21
|
get_hash = run_command('python', './src/cosmic/get_commit_hash.py', check: true).stdout().strip()
|
|
20
|
-
|
|
21
|
-
'evolvebin-target',
|
|
22
|
-
input : ['src/cosmic/src/evolv2.f', 'src/cosmic/src/comprad.f'],
|
|
23
|
-
output : ['_evolvebinmodule.c', '_evolvebin-f2pywrappers.f'],
|
|
24
|
-
command : [py3, '-m', 'numpy.f2py', '@INPUT@', '-m', '_evolvebin', '--lower', '@OUTDIR']
|
|
25
|
-
)
|
|
22
|
+
|
|
26
23
|
|
|
27
24
|
lib_source = [
|
|
28
25
|
'src/cosmic/src/hrdiag_remnant.f',
|
|
29
26
|
'src/cosmic/src/assign_remnant.f',
|
|
30
27
|
'src/cosmic/src/benchmarkevolv2.f',
|
|
28
|
+
'src/cosmic/src/int64.f',
|
|
31
29
|
'src/cosmic/src/corerd.f',
|
|
32
30
|
'src/cosmic/src/comenv.f',
|
|
33
31
|
'src/cosmic/src/dgcore.f',
|
|
@@ -53,7 +51,7 @@ lib_source = [
|
|
|
53
51
|
'src/cosmic/src/hrdiag.f',
|
|
54
52
|
'src/cosmic/src/star.f',
|
|
55
53
|
'src/cosmic/src/zcnsts.f',
|
|
56
|
-
'src/cosmic/src/zfuncs.f'
|
|
54
|
+
'src/cosmic/src/zfuncs.f']
|
|
57
55
|
|
|
58
56
|
# Detect operating system and set appropriate linker flags
|
|
59
57
|
host_system = host_machine.system()
|
|
@@ -64,6 +62,15 @@ else
|
|
|
64
62
|
ldflags = [] # No special flags for other systems
|
|
65
63
|
endif
|
|
66
64
|
|
|
65
|
+
|
|
66
|
+
f2py_source = custom_target(
|
|
67
|
+
'evolvebin-target',
|
|
68
|
+
input : ['src/cosmic/src/evolv2.f', 'src/cosmic/src/comprad.f'],
|
|
69
|
+
output : ['_evolvebinmodule.c', '_evolvebin-f2pywrappers.f'],
|
|
70
|
+
command : [py3, '-m', 'numpy.f2py', '@INPUT@', '-m', '_evolvebin', '--lower']
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
|
|
67
74
|
evolvebin_module = py3.extension_module('_evolvebin',
|
|
68
75
|
f2py_source,
|
|
69
76
|
lib_source,
|
|
@@ -71,19 +78,10 @@ evolvebin_module = py3.extension_module('_evolvebin',
|
|
|
71
78
|
include_directories: inc_np,
|
|
72
79
|
link_args: ldflags,
|
|
73
80
|
install : true,
|
|
74
|
-
|
|
81
|
+
subdir : 'cosmic'
|
|
75
82
|
)
|
|
76
83
|
|
|
77
|
-
|
|
78
|
-
module_dirs = ['src/cosmic', 'src/cosmic/bse_utils',
|
|
79
|
-
'src/cosmic/sample', 'src/cosmic/tests']
|
|
80
|
-
|
|
81
|
-
# Install modules
|
|
82
|
-
foreach mod_dir: module_dirs
|
|
83
|
-
install_subdir(mod_dir,
|
|
84
|
-
install_dir: py3.get_install_dir())
|
|
85
|
-
endforeach
|
|
86
|
-
|
|
87
|
-
|
|
88
84
|
python_script = 'bin/cosmic-pop'
|
|
89
85
|
install_data(python_script, install_dir: get_option('bindir'))
|
|
86
|
+
|
|
87
|
+
subdir('src/cosmic')
|
|
@@ -10,8 +10,7 @@ authors = [
|
|
|
10
10
|
{ name="Tom Wagg" },
|
|
11
11
|
]
|
|
12
12
|
readme = "README.md"
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
version = "3.4.16"
|
|
15
14
|
requires-python = ">=3.9"
|
|
16
15
|
license = { text = "MIT License" }
|
|
17
16
|
classifiers = [
|
|
@@ -22,25 +21,12 @@ classifiers = [
|
|
|
22
21
|
"Operating System :: OS Independent",
|
|
23
22
|
"Programming Language :: Python",
|
|
24
23
|
]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"tqdm", "pandas", "tables", "h5py", "schwimmbad",
|
|
24
|
+
dependencies = ["numpy", "scipy", "astropy", "configparser",
|
|
25
|
+
"tqdm", "pandas", "tables", "h5py", "schwimmbad",
|
|
28
26
|
"matplotlib", "importlib-metadata"]
|
|
29
27
|
|
|
30
28
|
|
|
31
|
-
[project.optional-dependencies]
|
|
32
|
-
test = ["pytest", "pytest-xdist", "pytest-cov", "flake8", "coverage"]
|
|
33
|
-
docs = ["sphinx", "numpydoc", "sphinx-bootstrap-theme",
|
|
34
|
-
"sphinxcontrib-programoutput", "sphinx-automodapi",
|
|
35
|
-
"ipython", "sphinx_rtd_theme", "pickleshare"]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
29
|
[build-system]
|
|
40
|
-
requires = ["meson", "meson-python", "wheel", "numpy", "setuptools"]
|
|
41
30
|
build-backend = 'mesonpy'
|
|
31
|
+
requires = ['meson-python', 'numpy']
|
|
42
32
|
|
|
43
|
-
|
|
44
|
-
# pyproject.toml
|
|
45
|
-
[tool.setuptools]
|
|
46
|
-
write_to = "src/cosmic/_version.py"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.4.16"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
python_sources = [
|
|
2
|
+
'__init__.py',
|
|
3
|
+
'_commit_hash.py',
|
|
4
|
+
'_version.py',
|
|
5
|
+
'checkstate.py',
|
|
6
|
+
'evolve.py',
|
|
7
|
+
'filter.py',
|
|
8
|
+
'get_commit_hash.py',
|
|
9
|
+
'Match.py',
|
|
10
|
+
'plotting.py',
|
|
11
|
+
'utils.py'
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
py3.install_sources(
|
|
15
|
+
python_sources,
|
|
16
|
+
subdir: 'cosmic'
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
subdir('bse_utils')
|
|
20
|
+
subdir('sample')
|
|
21
|
+
subdir('tests')
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.4.14"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/docs/fixedpop/dat_DeltaBurst_13_14_13_14.h5
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/bpp_array_ind_sampling.npy
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/cmc_plummer_test.npz
RENAMED
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/dat_ThinDisk_10_12_10_12.h5
RENAMED
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/dat_ThinDisk_11_11_3.h5
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/unit_test_results.hdf5
RENAMED
|
File without changes
|
{cosmic_popsynth-3.4.14 → cosmic_popsynth-3.4.16}/src/cosmic/tests/data/unit_tests_results.hdf5
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|