cppmake 127.0.4__py3-none-any.whl → 127.0.6__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.
cppmake/__main__.py CHANGED
@@ -29,19 +29,19 @@ default_std_cppmake = \
29
29
  from cppmakelib import *
30
30
 
31
31
  if type(compiler) == Clang or type(compiler) == Emcc:
32
- package.compile_flags += [
32
+ self.compile_flags += [
33
33
  "-Wno-include-angled-in-module-purview",
34
34
  "-Wno-reserved-module-identifier"
35
35
  ]
36
36
 
37
37
  def build():
38
38
  std_module = compiler.std_module()
39
- create_dir(package.include_dir)
40
- copy_dir(parent_path(std_module), package.include_dir)
39
+ create_dir(self.include_dir)
40
+ copy_dir(parent_path(std_module), self.include_dir)
41
41
  with open(std_module, 'r') as reader:
42
42
  content = reader.read().split("export module std;")
43
- with open(f"{package.include_dir}/include", 'w') as writer:
43
+ with open(f"{self.include_dir}/include", 'w') as writer:
44
44
  writer.write(content[0].replace("module;", ""))
45
- with open(f"{package.include_dir}/export", 'w') as writer:
45
+ with open(f"{self.include_dir}/export", 'w') as writer:
46
46
  writer.write(content[1])
47
47
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cppmake
3
- Version: 127.0.4
3
+ Version: 127.0.6
4
4
  Summary: A modern C++ builder based on C++20 Modules.
5
5
  Author-email: anonymouspc <shyeyian@petalmail.com>
6
6
  License-Expression: MIT
@@ -0,0 +1,6 @@
1
+ cppmake/__main__.py,sha256=9lvQzE155__bnY739zh99XXraUinZFtI5tsV1H0yC_Q,1310
2
+ cppmake-127.0.6.dist-info/METADATA,sha256=x4mIC8MnUQHoRuETxpkZtV-4pb39LpPR38j-DOn06y4,272
3
+ cppmake-127.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
+ cppmake-127.0.6.dist-info/entry_points.txt,sha256=dK_4GLQPM14Sb1Fawz8fzllNitvsv24n91WpaH-h_m8,50
5
+ cppmake-127.0.6.dist-info/top_level.txt,sha256=uH5XeYydYK0aWCewtK8qf5yjSkXO2tvS9qguV8GVRp0,8
6
+ cppmake-127.0.6.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- cppmake/__main__.py,sha256=Iev_lmR8D1cYJnGu5pDrf9cLCqt61NXFctKMfC4NQJ8,1325
2
- cppmake-127.0.4.dist-info/METADATA,sha256=EpylTaHOKjI4_YjFHa9dEWgGbC9wCnA6_LEwfpjyqIo,272
3
- cppmake-127.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4
- cppmake-127.0.4.dist-info/entry_points.txt,sha256=dK_4GLQPM14Sb1Fawz8fzllNitvsv24n91WpaH-h_m8,50
5
- cppmake-127.0.4.dist-info/top_level.txt,sha256=uH5XeYydYK0aWCewtK8qf5yjSkXO2tvS9qguV8GVRp0,8
6
- cppmake-127.0.4.dist-info/RECORD,,