datashare-python 0.2.14__py3-none-any.whl → 0.2.19__py3-none-any.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.
@@ -8,9 +8,8 @@ from typing import Any
8
8
  import tomlkit
9
9
  from hatchling.builders.hooks.plugin.interface import BuildHookInterface
10
10
 
11
- import datashare_python
12
-
13
- from .constants import PACKAGE_DIR, PACKAGE_ROOT
11
+ PACKAGE_DIR = Path(__file__).parent
12
+ PACKAGE_ROOT = PACKAGE_DIR.parent
14
13
 
15
14
  ALLOWED_EXTS = {
16
15
  ".py",
@@ -44,7 +43,7 @@ def build_template_tarball() -> None:
44
43
 
45
44
  def init_project(name: str, path: Path) -> None:
46
45
  destination = path / name
47
- template_tar = files(datashare_python.__name__)
46
+ template_tar = files("datashare_python")
48
47
  with (
49
48
  as_file(template_tar / "worker-template.tar.gz") as tar_path,
50
49
  tarfile.open(tar_path, mode="r:gz") as tar,
Binary file
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datashare-python
3
- Version: 0.2.14
4
- Summary: Manage Python tasks and local resources in Datashare
3
+ Version: 0.2.19
4
+ Summary: Manage Pythoœn tasks and local resources in Datashare
5
5
  Project-URL: Homepage, https://icij.github.io/datashare-python/
6
6
  Project-URL: Documentation, https://icij.github.io/datashare-python/
7
7
  Project-URL: Repository, https://github.com/ICIJ/datashare-python
@@ -10,9 +10,10 @@ datashare_python/exceptions.py,sha256=bVHEAXxDPKfxeeMC0hJXEsrJkgsKO2ESAhxWU96GA4
10
10
  datashare_python/local_client.py,sha256=GP9MTcHVQ1mcb2eO6TiQ7mzQdx199lZRhK8DRuJqJVQ,2359
11
11
  datashare_python/objects.py,sha256=UDc9PDaSXADLgmnfvqGBrDTmPVL-rRpyNHvY277-1x8,4147
12
12
  datashare_python/task_client.py,sha256=oTmP8bvZW0UyhLNMi1AV3XIAx7hrdbxNRss2Mw2azEc,8435
13
- datashare_python/template.py,sha256=X_FsdDEAWafZIZkok7XdKi2GI-WCWU1xKcEfYXKkF24,3156
13
+ datashare_python/template.py,sha256=i9QntY5f3W4G5wHcAeP0CM7GQWAzmUPY2WfEg4R7WNw,3145
14
14
  datashare_python/types_.py,sha256=9Hk1XqpdXbM1TnEzwvJ5G9ABbaCZW9KgBTtiPBVn_7k,649
15
15
  datashare_python/utils.py,sha256=mFegsYFoIRzRtPhx12748qrahe-c0rKNx02-r8tTG8Q,12777
16
+ datashare_python/worker-template.tar.gz,sha256=SB8P2A1yZ1NuF8OJqAxzRrZNWRIOyBAXl5UnpYvuUgY,65
16
17
  datashare_python/worker.py,sha256=E1cECV0q2XcGI234gZZ5eBvqeULlTK0FUb0VSWkRQUI,2924
17
18
  datashare_python/cli/__init__.py,sha256=5MGSE_0SwlOiwbyPwsP8RIXlTBB2_GGP0zDg4l6UAIY,1479
18
19
  datashare_python/cli/local.py,sha256=S-7qMpSqzi0oMvu01TCFEb8tayEvpw4pXMdCszKEYtU,986
@@ -20,7 +21,7 @@ datashare_python/cli/project.py,sha256=w32Gy9AOL5B00uDT4in7YUCt2g68FnNbvwg2M3a8G
20
21
  datashare_python/cli/task.py,sha256=9If5OC7loG4C4gWWl4iOeqPJ4GOLlCWXQfuNLUHORrQ,5860
21
22
  datashare_python/cli/utils.py,sha256=p69CQb0zfixuyBkiZprhdMCc_NuYwXyAn6vC9H1UzAw,911
22
23
  datashare_python/cli/worker.py,sha256=lmxeZDhLbGb-98XplCERN3R3Yo-sU0UkhO7KIo9Zbo4,4401
23
- datashare_python-0.2.14.dist-info/METADATA,sha256=hm9phl5q1NGS26_q4dfzNgWULhCP_THoTL8pDcb2uXg,957
24
- datashare_python-0.2.14.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
25
- datashare_python-0.2.14.dist-info/entry_points.txt,sha256=ILE7auxabHWiu3GC-AunWnzjhOI_SbZp7D4GqZHlLw4,68
26
- datashare_python-0.2.14.dist-info/RECORD,,
24
+ datashare_python-0.2.19.dist-info/METADATA,sha256=9OMgbouLWP9aFZaSy1P0IrF5i-ZsMKWhCpJ5BdyKQVk,959
25
+ datashare_python-0.2.19.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
26
+ datashare_python-0.2.19.dist-info/entry_points.txt,sha256=ILE7auxabHWiu3GC-AunWnzjhOI_SbZp7D4GqZHlLw4,68
27
+ datashare_python-0.2.19.dist-info/RECORD,,