python3-cyberfusion-file-support 1.1.1__tar.gz → 1.1.1.2__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,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-file-support
3
- Version: 1.1.1
3
+ Version: 1.1.1.2
4
4
  Summary: Library for idempotent writing to files.
5
- Home-page: https://vcs.cyberfusion.nl/shared/python3-cyberfusion-file-support
6
- Author: Cyberfusion
7
- Author-email: support@cyberfusion.io
8
- Platform: linux
5
+ Author-email: Cyberfusion <support@cyberfusion.io>
6
+ Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-file-support
9
7
  Description-Content-Type: text/markdown
8
+ Requires-Dist: python3-cyberfusion-common~=2.0
9
+ Requires-Dist: python3-cyberfusion-queue-support~=1.1
10
10
 
11
11
  # python3-cyberfusion-file-support
12
12
 
@@ -20,12 +20,6 @@ Run the following command to install the package from PyPI:
20
20
 
21
21
  pip3 install python3-cyberfusion-file-support
22
22
 
23
- ## Generic
24
-
25
- Run the following command to create a source distribution:
26
-
27
- python3 setup.py sdist
28
-
29
23
  ## Debian
30
24
 
31
25
  Run the following commands to build a Debian package:
@@ -10,12 +10,6 @@ Run the following command to install the package from PyPI:
10
10
 
11
11
  pip3 install python3-cyberfusion-file-support
12
12
 
13
- ## Generic
14
-
15
- Run the following command to create a source distribution:
16
-
17
- python3 setup.py sdist
18
-
19
13
  ## Debian
20
14
 
21
15
  Run the following commands to build a Debian package:
@@ -0,0 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "python3-cyberfusion-file-support"
7
+ version = "1.1.1.2"
8
+ description = "Library for idempotent writing to files."
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Cyberfusion", email = "support@cyberfusion.io" },
12
+ ]
13
+ dependencies = [
14
+ "python3-cyberfusion-common~=2.0",
15
+ "python3-cyberfusion-queue-support~=1.1",
16
+ ]
17
+
18
+ [project.urls]
19
+ "Source" = "https://github.com/CyberfusionIO/python3-cyberfusion-file-support"
@@ -77,7 +77,9 @@ class DestinationFileReplacement:
77
77
  return self._contents
78
78
 
79
79
  default_comment = f"{self.default_comment_character} Update this file via your management interface.\n"
80
- default_comment += f"{self.default_comment_character} Your changes will be overwritten.\n"
80
+ default_comment += (
81
+ f"{self.default_comment_character} Your changes will be overwritten.\n"
82
+ )
81
83
  default_comment += "\n"
82
84
 
83
85
  return default_comment + self._contents
@@ -146,9 +148,7 @@ class DestinationFileReplacement:
146
148
 
147
149
  if self.command:
148
150
  self.queue.add(
149
- CommandItem(
150
- command=self.command, reference=self.reference
151
- ),
151
+ CommandItem(command=self.command, reference=self.reference),
152
152
  )
153
153
 
154
154
  self.queue.add(
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-file-support
3
- Version: 1.1.1
3
+ Version: 1.1.1.2
4
4
  Summary: Library for idempotent writing to files.
5
- Home-page: https://vcs.cyberfusion.nl/shared/python3-cyberfusion-file-support
6
- Author: Cyberfusion
7
- Author-email: support@cyberfusion.io
8
- Platform: linux
5
+ Author-email: Cyberfusion <support@cyberfusion.io>
6
+ Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-file-support
9
7
  Description-Content-Type: text/markdown
8
+ Requires-Dist: python3-cyberfusion-common~=2.0
9
+ Requires-Dist: python3-cyberfusion-queue-support~=1.1
10
10
 
11
11
  # python3-cyberfusion-file-support
12
12
 
@@ -20,12 +20,6 @@ Run the following command to install the package from PyPI:
20
20
 
21
21
  pip3 install python3-cyberfusion-file-support
22
22
 
23
- ## Generic
24
-
25
- Run the following command to create a source distribution:
26
-
27
- python3 setup.py sdist
28
-
29
23
  ## Debian
30
24
 
31
25
  Run the following commands to build a Debian package:
@@ -1,9 +1,9 @@
1
1
  README.md
2
2
  pyproject.toml
3
3
  setup.cfg
4
- setup.py
5
4
  src/cyberfusion/FileSupport/__init__.py
6
5
  src/python3_cyberfusion_file_support.egg-info/PKG-INFO
7
6
  src/python3_cyberfusion_file_support.egg-info/SOURCES.txt
8
7
  src/python3_cyberfusion_file_support.egg-info/dependency_links.txt
8
+ src/python3_cyberfusion_file_support.egg-info/requires.txt
9
9
  src/python3_cyberfusion_file_support.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ python3-cyberfusion-common~=2.0
2
+ python3-cyberfusion-queue-support~=1.1
@@ -1,21 +0,0 @@
1
- [tool.isort]
2
- profile = "black"
3
- line_length = 79
4
- known_first_party = ["cyberfusion"]
5
- default_section = "THIRDPARTY"
6
-
7
- [tool.black]
8
- line-length = 79
9
- exclude = '''
10
- (
11
- /(
12
- \.eggs # exclude a few common directories in the
13
- | \.git # root of the project
14
- | \.hg
15
- | \.mypy_cache
16
- | \.tox
17
- | \.venv
18
- | venv
19
- )/
20
- )
21
- '''
@@ -1,21 +0,0 @@
1
- """A setuptools based setup module."""
2
-
3
- from setuptools import setup
4
-
5
- with open("README.md", "r", encoding="utf-8") as fh:
6
- long_description = fh.read()
7
-
8
- setup(
9
- name="python3-cyberfusion-file-support",
10
- version="1.1.1",
11
- description="Library for idempotent writing to files.",
12
- long_description=long_description,
13
- long_description_content_type="text/markdown",
14
- author="Cyberfusion",
15
- author_email="support@cyberfusion.io",
16
- url="https://vcs.cyberfusion.nl/shared/python3-cyberfusion-file-support",
17
- platforms=["linux"],
18
- packages=["cyberfusion.FileSupport"],
19
- package_dir={"": "src"},
20
- data_files=[],
21
- )