classy-szfast 0.0.16__tar.gz → 0.0.20__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.
- {classy_szfast-0.0.16/classy_szfast.egg-info → classy_szfast-0.0.20}/PKG-INFO +2 -1
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/config.py +2 -1
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/restore_nn.py +1 -1
- {classy_szfast-0.0.16 → classy_szfast-0.0.20/classy_szfast.egg-info}/PKG-INFO +2 -1
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast.egg-info/SOURCES.txt +0 -6
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast.egg-info/requires.txt +1 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/pyproject.toml +4 -3
- classy_szfast-0.0.20/setup.cfg +4 -0
- classy_szfast-0.0.16/.gitignore +0 -7
- classy_szfast-0.0.16/MANIFEST.in +0 -1
- classy_szfast-0.0.16/pypi_upload.sh +0 -44
- classy_szfast-0.0.16/requirements.txt +0 -2
- classy_szfast-0.0.16/setup.cfg +0 -14
- classy_szfast-0.0.16/setup.py +0 -4
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/README.md +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/__init__.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/classy_szfast.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/cosmopower.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/utils.py +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: classy_szfast
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.20
|
4
4
|
Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
|
5
5
|
Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
|
6
6
|
Project-URL: Homepage, https://github.com/CLASS-SZ
|
@@ -11,3 +11,4 @@ Requires-Dist: Cython>=0.29.21
|
|
11
11
|
Requires-Dist: tensorflow
|
12
12
|
Requires-Dist: mcfit
|
13
13
|
Requires-Dist: get_cosmopower_emus
|
14
|
+
Requires-Dist: class_sz_data
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import os
|
2
2
|
|
3
3
|
import get_cosmopower_emus
|
4
|
-
|
4
|
+
import class_sz_data
|
5
5
|
|
6
6
|
def get_cosmopower_path():
|
7
7
|
get_cosmopower_emus.set()
|
8
8
|
return os.getenv('PATH_TO_COSMOPOWER_ORGANIZATION')
|
9
9
|
|
10
10
|
path_to_cosmopower_organization = get_cosmopower_path()
|
11
|
+
class_sz_data.get_data_from_class_sz_repo(path_to_cosmopower_organization)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: classy_szfast
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.20
|
4
4
|
Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
|
5
5
|
Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
|
6
6
|
Project-URL: Homepage, https://github.com/CLASS-SZ
|
@@ -11,3 +11,4 @@ Requires-Dist: Cython>=0.29.21
|
|
11
11
|
Requires-Dist: tensorflow
|
12
12
|
Requires-Dist: mcfit
|
13
13
|
Requires-Dist: get_cosmopower_emus
|
14
|
+
Requires-Dist: class_sz_data
|
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
|
5
5
|
[project]
|
6
|
-
|
6
|
+
version = "0.0.20"
|
7
7
|
name = "classy_szfast"
|
8
8
|
maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]
|
9
9
|
description = "The accelerator of the class_sz code from https://github.com/CLASS-SZ"
|
@@ -13,9 +13,10 @@ dependencies = [
|
|
13
13
|
"Cython>=0.29.21",
|
14
14
|
"tensorflow",
|
15
15
|
"mcfit",
|
16
|
-
"get_cosmopower_emus"
|
16
|
+
"get_cosmopower_emus",
|
17
|
+
"class_sz_data"
|
17
18
|
]
|
18
19
|
|
19
20
|
[project.urls]
|
20
21
|
Homepage = "https://github.com/CLASS-SZ"
|
21
|
-
GitHub = "https://github.com/CLASS-SZ"
|
22
|
+
GitHub = "https://github.com/CLASS-SZ"
|
classy_szfast-0.0.16/.gitignore
DELETED
classy_szfast-0.0.16/MANIFEST.in
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,44 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# Ensure to manually update the version number in setup.py before running this script
|
4
|
-
|
5
|
-
# Function to increment version
|
6
|
-
increment_version() {
|
7
|
-
current_version=$(grep -Eo 'version="[^"]*' setup.py | cut -d'"' -f2)
|
8
|
-
IFS='.' read -r -a version_parts <<< "$current_version"
|
9
|
-
|
10
|
-
major=${version_parts[0]}
|
11
|
-
minor=${version_parts[1]}
|
12
|
-
patch=${version_parts[2]}
|
13
|
-
|
14
|
-
patch=$((patch + 1))
|
15
|
-
if [ $patch -ge 100 ]; then
|
16
|
-
patch=0
|
17
|
-
minor=$((minor + 1))
|
18
|
-
fi
|
19
|
-
if [ $minor -ge 100 ]; then
|
20
|
-
minor=0
|
21
|
-
major=$((major + 1))
|
22
|
-
fi
|
23
|
-
|
24
|
-
new_version="$major.$minor.$patch"
|
25
|
-
|
26
|
-
# Update the setup.py with the new version
|
27
|
-
sed -i '' "s/version=\"$current_version\"/version=\"$new_version\"/" setup.py
|
28
|
-
}
|
29
|
-
|
30
|
-
# Increment the version
|
31
|
-
increment_version
|
32
|
-
|
33
|
-
|
34
|
-
# Remove old build files
|
35
|
-
rm -rf build dist *.egg-info
|
36
|
-
|
37
|
-
# Build the package
|
38
|
-
python setup.py sdist bdist_wheel
|
39
|
-
|
40
|
-
# Upload the package
|
41
|
-
twine upload dist/*
|
42
|
-
|
43
|
-
# Clean up build directories
|
44
|
-
rm -rf build dist *.egg-info
|
classy_szfast-0.0.16/setup.cfg
DELETED
classy_szfast-0.0.16/setup.py
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/cosmosis_classy_szfast_interface.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.16 → classy_szfast-0.0.20}/classy_szfast/custom_profiles/custom_profiles.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|