occpy 0.6.2__cp312-abi3-macosx_10_15_universal2.whl → 0.6.8__cp312-abi3-macosx_10_15_universal2.whl

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.
bin/occ CHANGED
Binary file
occpy/__init__.py CHANGED
@@ -1,3 +1,51 @@
1
- from ._occpy import setup_logging
2
- setup_logging(0)
1
+ from pathlib import Path
2
+ import site
3
+ import warnings
4
+ from ._occpy import setup_logging, set_data_directory
3
5
  from ._occpy import *
6
+
7
+ # Set up logging first
8
+ setup_logging(0)
9
+
10
+ # Get site-packages directory and construct path to data
11
+ _site_packages = Path(site.getsitepackages()[0])
12
+ _data_dir = _site_packages / "share" / "occ"
13
+
14
+ # Warn if directory not found, but continue
15
+ if not _data_dir.exists():
16
+ warnings.warn(f"OCC data directory not found at expected location: {_data_dir}")
17
+
18
+ set_data_directory(str(_data_dir))
19
+
20
+ __all__ = [
21
+ "AOBasis",
22
+ "AsymmetricUnit",
23
+ "Atom",
24
+ "BeckeGridSettings",
25
+ "calculate_crystal_growth_energies",
26
+ "Crystal",
27
+ "CrystalAtomRegion",
28
+ "CrystalDimers",
29
+ "CrystalGrowthConfig",
30
+ "CGDimer",
31
+ "CGEnergyTotal",
32
+ "CGResult",
33
+ "DFT",
34
+ "Dimer",
35
+ "DimerSolventTerm",
36
+ "Element",
37
+ "HartreeFock",
38
+ "HF",
39
+ "HKL",
40
+ "KS",
41
+ "LatticeConvergenceSettings",
42
+ "MolecularOrbitals",
43
+ "Molecule",
44
+ "set_data_directory",
45
+ "set_num_threads",
46
+ "setup_logging",
47
+ "Shell",
48
+ "SymmetryRelatedDimer",
49
+ "UnitCell",
50
+ "Wavefunction",
51
+ ]
occpy/_occpy.abi3.so CHANGED
Binary file
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: occpy
3
- Version: 0.6.2
3
+ Version: 0.6.8
4
4
  Summary: A library for quantum chemistry
5
5
  Author-Email: Peter Spackman <peterspackman@fastmail.com>
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
7
7
  Project-URL: Homepage, https://github.com/peterspackman/occ
8
- Requires-Python: >=3.8
9
- Requires-Dist: numpy
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: numpy>1.24.4
10
10
  Description-Content-Type: text/markdown
11
11
 
12
12
  # Open Computational Chemistry (OCC)
@@ -1,10 +1,10 @@
1
- occpy/__init__.py,sha256=qVOm_6UPBFJdCGomi-NBwFn-_n8EGy3-aq790dlhB_4,73
2
- occpy/_occpy.abi3.so,sha256=SCnEn4_7nxSdRPC0tQOCRSs3UF5YgJicKWkQjpXDXSk,47933312
3
- bin/occ,sha256=EXWPjPJYzhTyQ4uRkxsFEczRH2WzTkqxV5uuAJvKZQE,55015632
4
- occpy-0.6.2.dist-info/RECORD,,
5
- occpy-0.6.2.dist-info/WHEEL,sha256=w5Ur9Q5Es_Z4FPIMBohHeywASZGk460ur09HFt0FRwM,119
6
- occpy-0.6.2.dist-info/METADATA,sha256=fdDdtwo6MmMwVUW81S1cyu-DEeSRnvEkWm1tjQS6FKo,6110
7
- occpy-0.6.2.dist-info/licenses/LICENSE.txt,sha256=5fvmauGmRic38fyZZuc3YBBPEmgbYKVcRuCb1YLN7UU,781
1
+ occpy/__init__.py,sha256=wwCFCKiOG5_LxG632l9TXD2nEu6dh8UHIoctRgDarTs,1120
2
+ occpy/_occpy.abi3.so,sha256=Lk-wetKdsQzT0KJn0MX1Fd9_rg-gFl2RQl6xau0zLEY,48628928
3
+ bin/occ,sha256=-ndHuII8atwzyoj6CO0KqMHUPRS2440qdLsg4UdMe0I,55868432
4
+ occpy-0.6.8.dist-info/RECORD,,
5
+ occpy-0.6.8.dist-info/WHEEL,sha256=LdfOfqGXhfHYepJbXECEPajpjKWXBVBKBGfxg0ztWlo,119
6
+ occpy-0.6.8.dist-info/METADATA,sha256=A-QWq8PGil48WemacnnYxAozjMFXSpQkqWUvOwyJkTc,6118
7
+ occpy-0.6.8.dist-info/licenses/LICENSE.txt,sha256=5fvmauGmRic38fyZZuc3YBBPEmgbYKVcRuCb1YLN7UU,781
8
8
  share/occ/solvent/dielectric_constants.json,sha256=GMRldNjqknxVm9ROCDvDrfWhIc9FdIIjGhnAxQwT26c,49229
9
9
  share/occ/solvent/dielectrics.json,sha256=E8otdtPhjmZDSOoXnSo2gsM8zV5KVXpt3C8aZ3qyxFM,4854
10
10
  share/occ/solvent/smd.json,sha256=GMRldNjqknxVm9ROCDvDrfWhIc9FdIIjGhnAxQwT26c,49229
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: scikit-build-core 0.9.10
2
+ Generator: scikit-build-core 0.10.7
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-abi3-macosx_10_15_universal2
5
5