TDCRPy 0.0.18__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.

Potentially problematic release.


This version of TDCRPy might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ recursive-include tdcrpy/decayData/All-nuclides_BetaShape.zip
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TDCRPy
3
- Version: 0.0.18
3
+ Version: 0.0.20
4
4
  Summary: TDCR model
5
5
  Home-page: https://github.com/RomainCoulon/TDCRPy
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TDCRPy
3
- Version: 0.0.18
3
+ Version: 0.0.20
4
4
  Summary: TDCR model
5
5
  Home-page: https://github.com/RomainCoulon/TDCRPy
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -1,4 +1,5 @@
1
1
  LICENCE.md
2
+ MANIFEST.in
2
3
  README.md
3
4
  setup.py
4
5
  TDCRPy.egg-info/PKG-INFO
@@ -14,5 +15,4 @@ tdcrpy/TDCRoptimize.py
14
15
  tdcrpy/__init__.py
15
16
  tdcrpy/decay.py
16
17
  tdcrpy/test.py
17
- tdcrpy/test1.py
18
- tdcrpy/decayData/__init__.py
18
+ tdcrpy/test1.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = "0.0.18"
5
+ VERSION = "0.0.20"
6
6
  DESCRIPTION = "TDCR model"
7
7
 
8
8
  with open("README.md", "r") as f:
@@ -10,6 +10,7 @@ Bureau International des Poids et Mesures
10
10
 
11
11
  ### IMPORT Python Module
12
12
  import urllib.request as rq
13
+ import importlib.resources
13
14
  import numpy as np
14
15
  from numpy.core.multiarray import where
15
16
  import zipfile as zf
@@ -264,7 +265,10 @@ def readPenNuc(rad):
264
265
  # toc() # 0.016 s
265
266
 
266
267
  if absolutePath: file_pennuc = 'G:\Python_modules\Jialin\Code\decayData\\All-nuclides_PenNuc.zip'
267
- else: file_pennuc = "decayData//All-nuclides_PenNuc.zip"
268
+ else:
269
+ # file_pennuc = "decayData//All-nuclides_PenNuc.zip"
270
+ with importlib.resources.path('tdcrpy', 'decayData') as data_path:
271
+ file_pennuc = data_path / "All-nuclides_PenNuc.zip"
268
272
 
269
273
  z_PenNuc = zf.ZipFile(file_pennuc)
270
274
 
@@ -1 +0,0 @@
1
- from tdcrpy.decayData import All-nuclides_BetaShape.zip
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