classy-szfast 0.0.3__tar.gz → 0.0.5__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.
Files changed (28) hide show
  1. {classy_szfast-0.0.3/classy_szfast.egg-info → classy_szfast-0.0.5}/PKG-INFO +1 -5
  2. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/README.md +3 -0
  3. {classy_szfast-0.0.3 → classy_szfast-0.0.5/classy_szfast.egg-info}/PKG-INFO +1 -5
  4. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast.egg-info/SOURCES.txt +0 -1
  5. classy_szfast-0.0.5/pypi_upload.sh +44 -0
  6. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/pyproject.toml +1 -7
  7. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/setup.py +7 -1
  8. classy_szfast-0.0.3/classy_szfast.egg-info/requires.txt +0 -4
  9. classy_szfast-0.0.3/pypi_upload.sh +0 -15
  10. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/.gitignore +0 -0
  11. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/MANIFEST.in +0 -0
  12. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/__init__.py +0 -0
  13. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/classy_sz.py +0 -0
  14. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/classy_szfast.py +0 -0
  15. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/config.py +0 -0
  16. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/cosmopower.py +0 -0
  17. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
  18. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/custom_bias/__init__.py +0 -0
  19. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/custom_bias/custom_bias.py +0 -0
  20. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/custom_profiles/__init__.py +0 -0
  21. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
  22. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/pks_and_sigmas.py +0 -0
  23. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/suppress_warnings.py +0 -0
  24. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast/utils.py +0 -0
  25. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast.egg-info/dependency_links.txt +0 -0
  26. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast.egg-info/not-zip-safe +0 -0
  27. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/classy_szfast.egg-info/top_level.txt +0 -0
  28. {classy_szfast-0.0.3 → classy_szfast-0.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.3
3
+ Version: 0.0.5
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 +1,4 @@
1
1
  Python module for the acceleration of class_sz and interface with likelihood codes.
2
+
3
+ see https://github.com/CLASS-SZ for details.
4
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.3
3
+ Version: 0.0.5
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
@@ -3,13 +3,7 @@ requires = ["setuptools", "wheel", "numpy>=1.19.0", "Cython>=0.29.21"]
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
-
6
+ dependencies = []
13
7
  dynamic = ["version"]
14
8
  name = "classy_szfast"
15
9
  maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]
@@ -5,7 +5,7 @@ from setuptools import setup,find_packages
5
5
 
6
6
  setup(
7
7
  name="classy_szfast",
8
- version="0.0.3",
8
+ version="0.0.5",
9
9
  description="Python package for fast class_sz",
10
10
  zip_safe=False,
11
11
  packages=find_packages(),
@@ -14,4 +14,10 @@ setup(
14
14
  url='https://github.com/CLASS-SZ/classy_szfast',
15
15
  download_url='https://github.com/CLASS-SZ/classy_szfast',
16
16
  package_data={},
17
+ install_requires=[
18
+ "tensorflow==2.13.0",
19
+ "tensorflow-probability==0.21.0",
20
+ "cosmopower",
21
+ "mcfit"
22
+ ],
17
23
  )
@@ -1,4 +0,0 @@
1
- tensorflow==2.13.0
2
- tensorflow-probability==0.21.0
3
- cosmopower
4
- mcfit
@@ -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
File without changes
File without changes
File without changes