We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Update MANIFEST.in
Clean up and make sure `sdist` contains all needed files.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 #  python-holidays
2 #  ---------------
3 #  A fast, efficient Python library for generating country, province and state
4 #  specific sets of holidays on the fly. It aims to make determining whether a
5 #  specific date is a holiday as fast and flexible as possible.
6 #
7 #  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
8 #           ryanss <ryanssdev@icloud.com> (c) 2014-2017
9 #  Website: https://github.com/dr-prodigy/python-holidays
10 #  License: MIT (see LICENSE file)
11 
12 import os
13 import subprocess
14 import sys
15 from pathlib import Path
16 
17 from setuptools import setup
18 
19 
20 def generate_mo_files():
21     """Looks up for .po files and generates respective .mo files."""
22     for po_path in Path(os.path.join("holidays", "locale")).rglob("*.po"):
23         po_file = str(po_path)
24         mo_file = po_file.replace(".po", ".mo")
25 
26         if os.path.exists(mo_file):
27             os.unlink(mo_file)
28         subprocess.run(
29             (
30                 sys.executable,
31                 os.path.join("scripts", "l10n", "msgfmt.py"),
32                 "-o",
33                 mo_file,
34                 po_file,
35             ),
36             check=True,
37         )
38 
39 
40 if __name__ == "__main__":
41     generate_mo_files()
42     setup()
43
```

Path: `scripts/l10n/generate_mo_files.py`
Content:
```
1 #!/usr/bin/env python3
2 
3 #  python-holidays
4 #  ---------------
5 #  A fast, efficient Python library for generating country, province and state
6 #  specific sets of holidays on the fly. It aims to make determining whether a
7 #  specific date is a holiday as fast and flexible as possible.
8 #
9 #  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
10 #           ryanss <ryanssdev@icloud.com> (c) 2014-2017
11 #  Website: https://github.com/dr-prodigy/python-holidays
12 #  License: MIT (see LICENSE file)
13 
14 import os
15 import subprocess
16 import sys
17 from pathlib import Path
18 
19 
20 class MOGenerator:
21     """Creates .mo files for supported country/market entities."""
22 
23     def run(self):
24         """Runs the .mo files generation process."""
25         # Delete old files.
26         for mo_file in Path(os.path.join("holidays", "locale")).rglob("*.mo"):
27             os.unlink(str(mo_file))
28 
29         # Create new files.
30         for po_path in Path(os.path.join("holidays", "locale")).rglob("*.po"):
31             po_file = str(po_path)
32             mo_file = po_file.replace(".po", ".mo")
33             subprocess.run(
34                 (
35                     sys.executable,
36                     os.path.join("scripts", "l10n", "msgfmt.py"),
37                     "-o",
38                     mo_file,
39                     po_file,
40                 ),
41                 check=True,
42             )
43 
44 
45 if __name__ == "__main__":
46     MOGenerator().run()
47
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/scripts/l10n/generate_mo_files.py b/scripts/l10n/generate_mo_files.py
--- a/scripts/l10n/generate_mo_files.py
+++ b/scripts/l10n/generate_mo_files.py
@@ -22,14 +22,12 @@
 
     def run(self):
         """Runs the .mo files generation process."""
-        # Delete old files.
-        for mo_file in Path(os.path.join("holidays", "locale")).rglob("*.mo"):
-            os.unlink(str(mo_file))
-
-        # Create new files.
         for po_path in Path(os.path.join("holidays", "locale")).rglob("*.po"):
             po_file = str(po_path)
             mo_file = po_file.replace(".po", ".mo")
+
+            if os.path.exists(mo_file):
+                os.unlink(mo_file)
             subprocess.run(
                 (
                     sys.executable,
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -9,34 +9,7 @@
 #  Website: https://github.com/dr-prodigy/python-holidays
 #  License: MIT (see LICENSE file)
 
-import os
-import subprocess
-import sys
-from pathlib import Path
-
 from setuptools import setup
 
-
-def generate_mo_files():
-    """Looks up for .po files and generates respective .mo files."""
-    for po_path in Path(os.path.join("holidays", "locale")).rglob("*.po"):
-        po_file = str(po_path)
-        mo_file = po_file.replace(".po", ".mo")
-
-        if os.path.exists(mo_file):
-            os.unlink(mo_file)
-        subprocess.run(
-            (
-                sys.executable,
-                os.path.join("scripts", "l10n", "msgfmt.py"),
-                "-o",
-                mo_file,
-                po_file,
-            ),
-            check=True,
-        )
-
-
 if __name__ == "__main__":
-    generate_mo_files()
     setup()

{"golden_diff": "diff --git a/scripts/l10n/generate_mo_files.py b/scripts/l10n/generate_mo_files.py\n--- a/scripts/l10n/generate_mo_files.py\n+++ b/scripts/l10n/generate_mo_files.py\n@@ -22,14 +22,12 @@\n \n     def run(self):\n         \"\"\"Runs the .mo files generation process.\"\"\"\n-        # Delete old files.\n-        for mo_file in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.mo\"):\n-            os.unlink(str(mo_file))\n-\n-        # Create new files.\n         for po_path in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.po\"):\n             po_file = str(po_path)\n             mo_file = po_file.replace(\".po\", \".mo\")\n+\n+            if os.path.exists(mo_file):\n+                os.unlink(mo_file)\n             subprocess.run(\n                 (\n                     sys.executable,\ndiff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -9,34 +9,7 @@\n #  Website: https://github.com/dr-prodigy/python-holidays\n #  License: MIT (see LICENSE file)\n \n-import os\n-import subprocess\n-import sys\n-from pathlib import Path\n-\n from setuptools import setup\n \n-\n-def generate_mo_files():\n-    \"\"\"Looks up for .po files and generates respective .mo files.\"\"\"\n-    for po_path in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.po\"):\n-        po_file = str(po_path)\n-        mo_file = po_file.replace(\".po\", \".mo\")\n-\n-        if os.path.exists(mo_file):\n-            os.unlink(mo_file)\n-        subprocess.run(\n-            (\n-                sys.executable,\n-                os.path.join(\"scripts\", \"l10n\", \"msgfmt.py\"),\n-                \"-o\",\n-                mo_file,\n-                po_file,\n-            ),\n-            check=True,\n-        )\n-\n-\n if __name__ == \"__main__\":\n-    generate_mo_files()\n     setup()\n", "issue": "Update MANIFEST.in\nClean up and make sure `sdist` contains all needed files.\n", "before_files": [{"content": "#  python-holidays\n#  ---------------\n#  A fast, efficient Python library for generating country, province and state\n#  specific sets of holidays on the fly. It aims to make determining whether a\n#  specific date is a holiday as fast and flexible as possible.\n#\n#  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023\n#           ryanss <ryanssdev@icloud.com> (c) 2014-2017\n#  Website: https://github.com/dr-prodigy/python-holidays\n#  License: MIT (see LICENSE file)\n\nimport os\nimport subprocess\nimport sys\nfrom pathlib import Path\n\nfrom setuptools import setup\n\n\ndef generate_mo_files():\n    \"\"\"Looks up for .po files and generates respective .mo files.\"\"\"\n    for po_path in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.po\"):\n        po_file = str(po_path)\n        mo_file = po_file.replace(\".po\", \".mo\")\n\n        if os.path.exists(mo_file):\n            os.unlink(mo_file)\n        subprocess.run(\n            (\n                sys.executable,\n                os.path.join(\"scripts\", \"l10n\", \"msgfmt.py\"),\n                \"-o\",\n                mo_file,\n                po_file,\n            ),\n            check=True,\n        )\n\n\nif __name__ == \"__main__\":\n    generate_mo_files()\n    setup()\n", "path": "setup.py"}, {"content": "#!/usr/bin/env python3\n\n#  python-holidays\n#  ---------------\n#  A fast, efficient Python library for generating country, province and state\n#  specific sets of holidays on the fly. It aims to make determining whether a\n#  specific date is a holiday as fast and flexible as possible.\n#\n#  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023\n#           ryanss <ryanssdev@icloud.com> (c) 2014-2017\n#  Website: https://github.com/dr-prodigy/python-holidays\n#  License: MIT (see LICENSE file)\n\nimport os\nimport subprocess\nimport sys\nfrom pathlib import Path\n\n\nclass MOGenerator:\n    \"\"\"Creates .mo files for supported country/market entities.\"\"\"\n\n    def run(self):\n        \"\"\"Runs the .mo files generation process.\"\"\"\n        # Delete old files.\n        for mo_file in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.mo\"):\n            os.unlink(str(mo_file))\n\n        # Create new files.\n        for po_path in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.po\"):\n            po_file = str(po_path)\n            mo_file = po_file.replace(\".po\", \".mo\")\n            subprocess.run(\n                (\n                    sys.executable,\n                    os.path.join(\"scripts\", \"l10n\", \"msgfmt.py\"),\n                    \"-o\",\n                    mo_file,\n                    po_file,\n                ),\n                check=True,\n            )\n\n\nif __name__ == \"__main__\":\n    MOGenerator().run()\n", "path": "scripts/l10n/generate_mo_files.py"}], "after_files": [{"content": "#  python-holidays\n#  ---------------\n#  A fast, efficient Python library for generating country, province and state\n#  specific sets of holidays on the fly. It aims to make determining whether a\n#  specific date is a holiday as fast and flexible as possible.\n#\n#  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023\n#           ryanss <ryanssdev@icloud.com> (c) 2014-2017\n#  Website: https://github.com/dr-prodigy/python-holidays\n#  License: MIT (see LICENSE file)\n\nfrom setuptools import setup\n\nif __name__ == \"__main__\":\n    setup()\n", "path": "setup.py"}, {"content": "#!/usr/bin/env python3\n\n#  python-holidays\n#  ---------------\n#  A fast, efficient Python library for generating country, province and state\n#  specific sets of holidays on the fly. It aims to make determining whether a\n#  specific date is a holiday as fast and flexible as possible.\n#\n#  Authors: dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023\n#           ryanss <ryanssdev@icloud.com> (c) 2014-2017\n#  Website: https://github.com/dr-prodigy/python-holidays\n#  License: MIT (see LICENSE file)\n\nimport os\nimport subprocess\nimport sys\nfrom pathlib import Path\n\n\nclass MOGenerator:\n    \"\"\"Creates .mo files for supported country/market entities.\"\"\"\n\n    def run(self):\n        \"\"\"Runs the .mo files generation process.\"\"\"\n        for po_path in Path(os.path.join(\"holidays\", \"locale\")).rglob(\"*.po\"):\n            po_file = str(po_path)\n            mo_file = po_file.replace(\".po\", \".mo\")\n\n            if os.path.exists(mo_file):\n                os.unlink(mo_file)\n            subprocess.run(\n                (\n                    sys.executable,\n                    os.path.join(\"scripts\", \"l10n\", \"msgfmt.py\"),\n                    \"-o\",\n                    mo_file,\n                    po_file,\n                ),\n                check=True,\n            )\n\n\nif __name__ == \"__main__\":\n    MOGenerator().run()\n", "path": "scripts/l10n/generate_mo_files.py"}]}