e2xauthoring 0.3.0.dev2__py3-none-any.whl → 0.3.0.dev4__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.
@@ -1 +1 @@
1
- __version__ = "0.3.0-dev2"
1
+ __version__ = "0.3.0-dev4"
e2xauthoring/git/base.py CHANGED
@@ -83,8 +83,8 @@ class BaseRepo(Subject):
83
83
  """
84
84
  if not self.is_version_controlled:
85
85
  return 0
86
- index_path = os.path.join(self.path, ".git", "index")
87
- head_path = os.path.join(self.path, ".git", "HEAD")
86
+ index_path = os.path.join(self.repo_root, ".git", "index")
87
+ head_path = os.path.join(self.repo_root, ".git", "HEAD")
88
88
  timestamp = 0
89
89
  if os.path.exists(index_path):
90
90
  timestamp = max(timestamp, os.path.getmtime(index_path))
@@ -48,7 +48,7 @@ class Pool(Observer):
48
48
 
49
49
  def remove(self):
50
50
  assert os.path.exists(self.path), f"Pool {self.name} does not exist"
51
- os.rmdir(self.path)
51
+ shutil.rmtree(self.path)
52
52
  self.repo.detach(self)
53
53
 
54
54
  def copy(self, new_name: str):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: e2xauthoring
3
- Version: 0.3.0.dev2
3
+ Version: 0.3.0.dev4
4
4
  Summary: Authoring app for e2xgrader
5
5
  Project-URL: Source, https://github.com/Digiklausur/e2xauthoring
6
6
  Project-URL: Documentation, https://e2xauthoring.readthedocs.io/en/latest/
@@ -18,11 +18,13 @@ Requires-Python: >=3.7
18
18
  Requires-Dist: e2xcore>=0.0.5
19
19
  Requires-Dist: gitpython
20
20
  Provides-Extra: dev
21
+ Requires-Dist: build; extra == 'dev'
21
22
  Requires-Dist: hatchling; extra == 'dev'
22
23
  Requires-Dist: pre-commit; extra == 'dev'
23
24
  Requires-Dist: pydata-sphinx-theme; extra == 'dev'
24
25
  Requires-Dist: sphinx; extra == 'dev'
25
26
  Requires-Dist: tbump; extra == 'dev'
27
+ Requires-Dist: twine; extra == 'dev'
26
28
  Description-Content-Type: text/markdown
27
29
 
28
30
  # e2xauthoring
@@ -1,5 +1,5 @@
1
1
  e2xauthoring/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- e2xauthoring/__version__.py,sha256=pzvZN397hNUMrGPzzl8d7hpXmkotsitbfuEftrzEvoU,27
2
+ e2xauthoring/__version__.py,sha256=lYVkQVGO1nFg_2J6WmT1Cb-pLzx90D7q-iE70Z5_4A0,27
3
3
  e2xauthoring/app/__init__.py,sha256=dAcKvUKQEUD4RGfiabBdpmFe0wadDaVF5V1V4856cL4,64
4
4
  e2xauthoring/app/authoring.py,sha256=5y5gDU2qdn02pEcgmUDpE-eAr3Yw9QdnwC_desqEEqA,1000
5
5
  e2xauthoring/app/handlers/apihandlers.py,sha256=o6-fp5tmfP06iaza-MFumxFgnO0E-KndwNYhelQIDyw,3783
@@ -23,7 +23,7 @@ e2xauthoring/dataclasses/pool.py,sha256=WDTW6012LuD8LGQ1pl00a5kWp2k27AbWSx3R8f18
23
23
  e2xauthoring/dataclasses/task.py,sha256=JIJIeNNOTDzfPNkhQFLJTuXYIkSTMCxhhADu1vQ1RUM,246
24
24
  e2xauthoring/dataclasses/template.py,sha256=vEWpoGxMmpwemHK5h9Ak299jRJ3_-HW7okA9nzZzXtI,322
25
25
  e2xauthoring/git/__init__.py,sha256=VqIGkULYdLBesu8474-5_EjkADuUl5bIYjG4qR0ZCBQ,215
26
- e2xauthoring/git/base.py,sha256=BiH34C-JybWKieaT28_7tYnGkzVkdt-R_gioeHxQZZ8,7866
26
+ e2xauthoring/git/base.py,sha256=k157_CDhXTBUKC7JHaa1wOc0b9gYutI_j2VI_klw1g8,7876
27
27
  e2xauthoring/git/factory.py,sha256=0WCQ_lzyJZFR0akwQe85yYQ_rChpLlG9r-9J6w65LCU,1099
28
28
  e2xauthoring/git/gitrepo.py,sha256=Qa_NIdUuuXdLb4fB1A4Kv3cleFXAfjubfyf-QFWgYaY,2006
29
29
  e2xauthoring/git/utils.py,sha256=1b-L-uEypQ8ZN5I7oBdFUS3IWRpjMjQVBQgwReTM3nI,1037
@@ -47,7 +47,7 @@ e2xauthoring/managers/presets/template/Group Info.ipynb,sha256=UzPLFzlE0LmfYblr4
47
47
  e2xauthoring/managers/presets/template/Header.ipynb,sha256=h7_oyKX375GLIqyHpx6YMX1n1PFFSuRXJz-XnM-TzUE,872
48
48
  e2xauthoring/managers/presets/template/Student Info.ipynb,sha256=DbET7Cfu5IHN4dBLP8kjeLu-z6GiE7jFDbQii74Xfd0,740
49
49
  e2xauthoring/models/__init__.py,sha256=ayk5E6JdXIEemcMa-KMZbHwBPMt87rpgENKxdXZ1ewA,274
50
- e2xauthoring/models/pool.py,sha256=2JHVwnm_OFElg2v40qg952l6aAcRSNw-licUSWMCC-c,6142
50
+ e2xauthoring/models/pool.py,sha256=GlXtbg7vsOUPbTn7DEvwuZNVAVbAQMY_FtmeKQ4ryjM,6147
51
51
  e2xauthoring/models/poolcollection.py,sha256=cqpCZWWI11SDszPdAy6FMjPnl4bkGhrwwRmFuqD6-ZQ,4781
52
52
  e2xauthoring/models/task.py,sha256=1YRccTofR2RAhnnRPTDa4oe5YkpPrAM041RqZK1pn1Y,7063
53
53
  e2xauthoring/models/template.py,sha256=T7UOEyeg6ey28vkn3zmdPu5YazozPZHVw10Fk77r_8o,2929
@@ -66,7 +66,7 @@ e2xauthoring/preprocessors/removeexercise.py,sha256=ZVCy_92BjiSNfkWC0Z72dSUd1o7E
66
66
  e2xauthoring/utils/__init__.py,sha256=ORm5Z51bACVUChgBBzJtjPF4elHUveoyFmE0cuctTK4,106
67
67
  e2xauthoring/utils/notebookvariableextractor.py,sha256=3GXxTrIzbrdfbaOl6cVZN3DDHmEjR5C6uNOznIJL-1E,434
68
68
  e2xauthoring/utils/pathutils.py,sha256=TtveFY9VG4eqsIANOBuIpYJvUXBHXJuuzhe2byUmbQk,1091
69
- e2xauthoring-0.3.0.dev2.dist-info/METADATA,sha256=VbVAgh50-rkcEppqByPA2fpxHnHy8bLLoQRtGQ9bBdg,2155
70
- e2xauthoring-0.3.0.dev2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
71
- e2xauthoring-0.3.0.dev2.dist-info/licenses/LICENSE,sha256=lbgSaWqrEqIf7B9gj3dpxM7PvrKgpEND3REakth-zGU,1068
72
- e2xauthoring-0.3.0.dev2.dist-info/RECORD,,
69
+ e2xauthoring-0.3.0.dev4.dist-info/METADATA,sha256=dWqz2VYj2O1Ca-jW08tVTvFF7fYuBvmbCts6jL8H6ww,2229
70
+ e2xauthoring-0.3.0.dev4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
71
+ e2xauthoring-0.3.0.dev4.dist-info/licenses/LICENSE,sha256=lbgSaWqrEqIf7B9gj3dpxM7PvrKgpEND3REakth-zGU,1068
72
+ e2xauthoring-0.3.0.dev4.dist-info/RECORD,,