libjam 0.0.3__tar.gz → 0.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libjam
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: A library jam for Python.
5
5
  Project-URL: Homepage, https://github.com/philippkosarev/libjam
6
6
  Project-URL: Issues, https://github.com/philippkosarev/libjam/issues
libjam-0.0.4/build.sh ADDED
@@ -0,0 +1,8 @@
1
+ #! /bin/bash
2
+
3
+ echo "Removing 'dist' directory..."
4
+ rm ./dist -r
5
+ python3 -m build
6
+
7
+ # Publish command:
8
+ # python3 -m twine upload --repository pypi dist/*
@@ -8,15 +8,9 @@ drawer = Drawer()
8
8
  # Deals with configs and reading/writing files
9
9
  class Notebook:
10
10
 
11
- def __init__(self):
12
- # Pre-requisites
13
- script_folder = os.path.dirname(os.path.realpath(__file__))
14
- script_folder = drawer.get_parent(script_folder)
15
- self.config_template_file = f"{script_folder}/config.toml.in"
16
-
17
11
  # Checking if config exists, and creating one if it does not
18
- def check_config(self, config_file: str):
19
- config_template = open(self.config_template_file, 'r').read()
12
+ def check_config(self, config_template_file: str, config_file: str):
13
+ config_template = open(config_template_file, 'r').read()
20
14
  config_folder = drawer.get_parent(config_file)
21
15
  if drawer.is_folder(config_folder) is False:
22
16
  drawer.make_folder(config_folder)
@@ -14,7 +14,7 @@ include = [
14
14
 
15
15
  [project]
16
16
  name = "libjam"
17
- version = "0.0.3"
17
+ version = "0.0.4"
18
18
  authors = [
19
19
  { name="Philipp Kosarev", email="philipp.kosarev@gmail.com" },
20
20
  ]
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