classy-szfast 0.0.3__tar.gz → 0.0.6__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.3 → classy_szfast-0.0.6}/.gitignore +0 -1
- {classy_szfast-0.0.3/classy_szfast.egg-info → classy_szfast-0.0.6}/PKG-INFO +1 -5
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/README.md +3 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6/classy_szfast.egg-info}/PKG-INFO +1 -5
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast.egg-info/SOURCES.txt +0 -1
- classy_szfast-0.0.6/pypi_upload.sh +44 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/pyproject.toml +1 -8
- classy_szfast-0.0.6/setup.cfg +14 -0
- classy_szfast-0.0.6/setup.py +59 -0
- classy_szfast-0.0.3/classy_szfast.egg-info/requires.txt +0 -4
- classy_szfast-0.0.3/pypi_upload.sh +0 -15
- classy_szfast-0.0.3/setup.cfg +0 -7
- classy_szfast-0.0.3/setup.py +0 -17
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/MANIFEST.in +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/__init__.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/classy_szfast.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/config.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/cosmopower.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/utils.py +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast.egg-info/not-zip-safe +0 -0
- {classy_szfast-0.0.3 → classy_szfast-0.0.6}/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.6
|
4
4
|
Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
|
5
5
|
Home-page: https://github.com/CLASS-SZ/classy_szfast
|
6
6
|
Download-URL: https://github.com/CLASS-SZ/classy_szfast
|
@@ -10,7 +10,3 @@ Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
|
|
10
10
|
Project-URL: Homepage, https://github.com/CLASS-SZ
|
11
11
|
Project-URL: GitHub, https://github.com/CLASS-SZ
|
12
12
|
Description-Content-Type: text/markdown
|
13
|
-
Requires-Dist: tensorflow==2.13.0
|
14
|
-
Requires-Dist: tensorflow-probability==0.21.0
|
15
|
-
Requires-Dist: cosmopower
|
16
|
-
Requires-Dist: mcfit
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: classy_szfast
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.6
|
4
4
|
Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
|
5
5
|
Home-page: https://github.com/CLASS-SZ/classy_szfast
|
6
6
|
Download-URL: https://github.com/CLASS-SZ/classy_szfast
|
@@ -10,7 +10,3 @@ Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
|
|
10
10
|
Project-URL: Homepage, https://github.com/CLASS-SZ
|
11
11
|
Project-URL: GitHub, https://github.com/CLASS-SZ
|
12
12
|
Description-Content-Type: text/markdown
|
13
|
-
Requires-Dist: tensorflow==2.13.0
|
14
|
-
Requires-Dist: tensorflow-probability==0.21.0
|
15
|
-
Requires-Dist: cosmopower
|
16
|
-
Requires-Dist: mcfit
|
@@ -18,7 +18,6 @@ classy_szfast.egg-info/PKG-INFO
|
|
18
18
|
classy_szfast.egg-info/SOURCES.txt
|
19
19
|
classy_szfast.egg-info/dependency_links.txt
|
20
20
|
classy_szfast.egg-info/not-zip-safe
|
21
|
-
classy_szfast.egg-info/requires.txt
|
22
21
|
classy_szfast.egg-info/top_level.txt
|
23
22
|
classy_szfast/custom_bias/__init__.py
|
24
23
|
classy_szfast/custom_bias/custom_bias.py
|
@@ -0,0 +1,44 @@
|
|
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 10 ]; then
|
16
|
+
patch=0
|
17
|
+
minor=$((minor + 1))
|
18
|
+
fi
|
19
|
+
if [ $minor -ge 1000 ]; 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
|
@@ -1,15 +1,8 @@
|
|
1
1
|
[build-system]
|
2
|
-
requires = ["setuptools", "wheel", "numpy>=1.19.0", "Cython>=0.29.21"]
|
2
|
+
requires = ["setuptools", "wheel", "numpy>=1.19.0", "Cython>=0.29.21", "tensorflow==2.13.0", "tensorflow-probability==0.21.0", "cosmopower", "mcfit"]
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
|
5
5
|
[project]
|
6
|
-
dependencies = [
|
7
|
-
"tensorflow==2.13.0",
|
8
|
-
"tensorflow-probability==0.21.0",
|
9
|
-
"cosmopower",
|
10
|
-
"mcfit"
|
11
|
-
]
|
12
|
-
|
13
6
|
dynamic = ["version"]
|
14
7
|
name = "classy_szfast"
|
15
8
|
maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]
|
@@ -0,0 +1,59 @@
|
|
1
|
+
from setuptools import setup, find_packages
|
2
|
+
import os
|
3
|
+
import sys
|
4
|
+
import shutil
|
5
|
+
|
6
|
+
# # Determine the library folder and requirements path
|
7
|
+
# thelibFolder = os.path.dirname(os.path.realpath(__file__))
|
8
|
+
# requirementPath = os.path.join(thelibFolder, 'requirements.txt')
|
9
|
+
|
10
|
+
# # Read the requirements from the requirements.txt file
|
11
|
+
# install_requires = []
|
12
|
+
# if os.path.isfile(requirementPath):
|
13
|
+
# with open(requirementPath) as f:
|
14
|
+
# print('opening requirements ', requirementPath)
|
15
|
+
# install_requires = f.read().splitlines()
|
16
|
+
|
17
|
+
# # Read the long description from the README.md file
|
18
|
+
# def read_file(file):
|
19
|
+
# with open(file) as f:
|
20
|
+
# return f.read()
|
21
|
+
|
22
|
+
# long_description = read_file("README.md")
|
23
|
+
|
24
|
+
# # Determine whether the system is M1/M2 Mac and adjust TensorFlow dependency
|
25
|
+
# tensorflow = 'tensorflow'
|
26
|
+
# if 'arm' in os.uname().machine:
|
27
|
+
# tensorflow = 'tensorflow-metal'
|
28
|
+
|
29
|
+
# Add TensorFlow to the install_requires list
|
30
|
+
# install_requires.append(tensorflow)
|
31
|
+
|
32
|
+
# Setup configuration
|
33
|
+
setup(
|
34
|
+
classifiers=[
|
35
|
+
'Operating System :: OS Independent',
|
36
|
+
'Intended Audience :: Developers',
|
37
|
+
'Intended Audience :: Science/Research'
|
38
|
+
],
|
39
|
+
name="classy_szfast",
|
40
|
+
version="0.0.6",
|
41
|
+
description="Python package for fast class_sz",
|
42
|
+
# long_description=long_description,
|
43
|
+
long_description_content_type='text/markdown',
|
44
|
+
zip_safe=False,
|
45
|
+
packages=find_packages(),
|
46
|
+
author="Boris Bolliet, Ola Kusiak",
|
47
|
+
author_email="bb667@cam.ac.uk, akk2175@columbia.edu",
|
48
|
+
url='https://github.com/CLASS-SZ/classy_szfast',
|
49
|
+
download_url='https://github.com/CLASS-SZ/classy_szfast',
|
50
|
+
package_data={},
|
51
|
+
install_requires=["setuptools", "wheel", "numpy>=1.19.0", "Cython>=0.29.21", "tensorflow==2.13.0", "tensorflow-probability==0.21.0", "cosmopower", "mcfit"],
|
52
|
+
)
|
53
|
+
|
54
|
+
# # Clean up build artifacts
|
55
|
+
# os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
56
|
+
# shutil.rmtree("build", True)
|
57
|
+
# shutil.rmtree("classy_szfast.egg-info", True)
|
58
|
+
# shutil.rmtree("__pycache__", True)
|
59
|
+
# shutil.rmtree(".pytest_cache", True)
|
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# Ensure to manually update the version number in setup.py before running this script
|
4
|
-
|
5
|
-
# Remove old build files
|
6
|
-
rm -rf build dist *.egg-info
|
7
|
-
|
8
|
-
# Build the package
|
9
|
-
python setup.py sdist bdist_wheel
|
10
|
-
|
11
|
-
# Upload the package
|
12
|
-
twine upload dist/*
|
13
|
-
|
14
|
-
# Clean up build directories
|
15
|
-
rm -rf build dist *.egg-info
|
classy_szfast-0.0.3/setup.cfg
DELETED
classy_szfast-0.0.3/setup.py
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
from setuptools import setup,find_packages
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
setup(
|
7
|
-
name="classy_szfast",
|
8
|
-
version="0.0.3",
|
9
|
-
description="Python package for fast class_sz",
|
10
|
-
zip_safe=False,
|
11
|
-
packages=find_packages(),
|
12
|
-
author="Boris Bolliet, Ola Kusiak",
|
13
|
-
author_email="bb667@cam.ac.uk, akk2175@columbia.edu",
|
14
|
-
url='https://github.com/CLASS-SZ/classy_szfast',
|
15
|
-
download_url='https://github.com/CLASS-SZ/classy_szfast',
|
16
|
-
package_data={},
|
17
|
-
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.3 → classy_szfast-0.0.6}/classy_szfast/cosmosis_classy_szfast_interface.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.3 → classy_szfast-0.0.6}/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
|
File without changes
|