We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Windows Install error - ValueError: path 'resources/' cannot end with '/
https://github.com/capitalone/DataProfiler/blob/5b04b7fe5ee3556235c397efb69b32cd5d364a3b/setup.py#L33

Ran into an install isue 
ValueError: path 'resources/' cannot end with '/

As per 
https://stackoverflow.com/questions/20356482/valueerror-path-conf-cannot-end-with

resource_dir = "resources/"
needs to change to 
resource_dir = "resources"

Thank you. 

--- 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 """A setuptools for the Data Profiler Application and Python Libraries."""
2 
3 import os
4 
5 # To use a consistent encoding
6 from codecs import open
7 from os import path
8 
9 # Always prefer setuptools over distutils
10 from setuptools import find_packages, setup
11 
12 # Load package version
13 from dataprofiler.version import __version__
14 
15 here = path.abspath(path.dirname(__file__))
16 
17 # Get the long description from the README file
18 with open(path.join(here, "README.md"), encoding="utf-8") as f:
19     LONG_DESCRIPTION = f.read()
20 
21 # Get the install_requirements from requirements.txt
22 with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
23     required_packages = f.read().splitlines()
24 
25 # Get the install_requirements from requirements-ml.txt
26 with open(path.join(here, "requirements-ml.txt"), encoding="utf-8") as f:
27     ml_packages = f.read().splitlines()
28 
29 # Get the install_requirements from requirements-reports.txt
30 with open(path.join(here, "requirements-reports.txt"), encoding="utf-8") as f:
31     reports_packages = f.read().splitlines()
32 
33 resource_dir = "resources/"
34 default_labeler_files = [
35     (d, [os.path.join(d, f) for f in files]) for d, _, files in os.walk(resource_dir)
36 ]
37 
38 
39 DESCRIPTION = (
40     "What is in your data? Detect schema, statistics and entities in almost any file."
41 )
42 
43 setup(
44     name="DataProfiler",
45     version=__version__,
46     python_requires=">=3.8",
47     description=DESCRIPTION,
48     long_description=LONG_DESCRIPTION,
49     long_description_content_type="text/markdown",
50     # The project's main homepage.
51     url="https://github.com/capitalone/data-profiler",
52     # Author details
53     author="Jeremy Goodsitt, Taylor Turner, Michael Davis, Kenny Bean, Tyler Farnan",
54     # Choose your license
55     license="Apache License, Version 2.0",
56     # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
57     classifiers=[
58         # How mature is this project? Common values are
59         #   3 - Alpha
60         #   4 - Beta
61         #   5 - Production/Stable
62         "Development Status :: 5 - Production/Stable",
63         # Indicate who your project is intended for
64         "Intended Audience :: Developers",
65         "Intended Audience :: Education",
66         "Intended Audience :: Information Technology",
67         "Intended Audience :: Science/Research",
68         "Intended Audience :: System Administrators",
69         "Topic :: Education",
70         "Topic :: Scientific/Engineering",
71         "Topic :: Scientific/Engineering :: Information Analysis",
72         "Topic :: Security",
73         "Topic :: Software Development :: Build Tools",
74         # Pick your license as you wish (should match "license" above)
75         "License :: OSI Approved :: Apache Software License",
76         # Specify the Python versions you support here. In particular, ensure
77         # that you indicate whether you support Python 3 or both.
78         "Programming Language :: Python :: 3",
79     ],
80     # What does your project relate to?
81     keywords="Data Investigation",
82     # You can just specify the packages manually here if your project is
83     # simple. Or you can use find_packages().
84     # packages=find_packages(exclude=['src/test', 'src/sample']),
85     packages=find_packages(exclude=["tests", "examples"]),
86     # List run-time dependencies here.  These will be installed by pip when
87     # your project is installed. For an analysis of "install_requires" vs pip's
88     # requirements files see:
89     # https://packaging.python.org/en/latest/requirements.html
90     install_requires=required_packages,
91     # List of run-time dependencies for the labeler. These will be installed
92     # by pip when someone installs the project[<label>].
93     extras_require={
94         "ml": ml_packages,
95         "reports": reports_packages,
96         "full": ml_packages + reports_packages,
97     },
98     # # If there are data files included in your packages that need to be
99     # # installed, specify them here.  If using Python 2.6 or less, then these
100     # # have to be included in MANIFEST.in as well.
101     # package_data={
102     #     'data': [],
103     # },
104     #
105     # # Although 'package_data' is the preferred approach, in some case you may
106     # # need to place data files outside of your packages. See:
107     # # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
108     # # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
109     data_files=default_labeler_files,
110     include_package_data=True,
111 )
112 
113 print("find_packages():", find_packages())
114
```
--- 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/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@
 with open(path.join(here, "requirements-reports.txt"), encoding="utf-8") as f:
     reports_packages = f.read().splitlines()
 
-resource_dir = "resources/"
+resource_dir = "resources"
 default_labeler_files = [
     (d, [os.path.join(d, f) for f in files]) for d, _, files in os.walk(resource_dir)
 ]

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -30,7 +30,7 @@\n with open(path.join(here, \"requirements-reports.txt\"), encoding=\"utf-8\") as f:\n     reports_packages = f.read().splitlines()\n \n-resource_dir = \"resources/\"\n+resource_dir = \"resources\"\n default_labeler_files = [\n     (d, [os.path.join(d, f) for f in files]) for d, _, files in os.walk(resource_dir)\n ]\n", "issue": "Windows Install error - ValueError: path 'resources/' cannot end with '/\nhttps://github.com/capitalone/DataProfiler/blob/5b04b7fe5ee3556235c397efb69b32cd5d364a3b/setup.py#L33\r\n\r\nRan into an install isue \r\nValueError: path 'resources/' cannot end with '/\r\n\r\nAs per \r\nhttps://stackoverflow.com/questions/20356482/valueerror-path-conf-cannot-end-with\r\n\r\nresource_dir = \"resources/\"\r\nneeds to change to \r\nresource_dir = \"resources\"\r\n\r\nThank you. \n", "before_files": [{"content": "\"\"\"A setuptools for the Data Profiler Application and Python Libraries.\"\"\"\n\nimport os\n\n# To use a consistent encoding\nfrom codecs import open\nfrom os import path\n\n# Always prefer setuptools over distutils\nfrom setuptools import find_packages, setup\n\n# Load package version\nfrom dataprofiler.version import __version__\n\nhere = path.abspath(path.dirname(__file__))\n\n# Get the long description from the README file\nwith open(path.join(here, \"README.md\"), encoding=\"utf-8\") as f:\n    LONG_DESCRIPTION = f.read()\n\n# Get the install_requirements from requirements.txt\nwith open(path.join(here, \"requirements.txt\"), encoding=\"utf-8\") as f:\n    required_packages = f.read().splitlines()\n\n# Get the install_requirements from requirements-ml.txt\nwith open(path.join(here, \"requirements-ml.txt\"), encoding=\"utf-8\") as f:\n    ml_packages = f.read().splitlines()\n\n# Get the install_requirements from requirements-reports.txt\nwith open(path.join(here, \"requirements-reports.txt\"), encoding=\"utf-8\") as f:\n    reports_packages = f.read().splitlines()\n\nresource_dir = \"resources/\"\ndefault_labeler_files = [\n    (d, [os.path.join(d, f) for f in files]) for d, _, files in os.walk(resource_dir)\n]\n\n\nDESCRIPTION = (\n    \"What is in your data? Detect schema, statistics and entities in almost any file.\"\n)\n\nsetup(\n    name=\"DataProfiler\",\n    version=__version__,\n    python_requires=\">=3.8\",\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    # The project's main homepage.\n    url=\"https://github.com/capitalone/data-profiler\",\n    # Author details\n    author=\"Jeremy Goodsitt, Taylor Turner, Michael Davis, Kenny Bean, Tyler Farnan\",\n    # Choose your license\n    license=\"Apache License, Version 2.0\",\n    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers\n    classifiers=[\n        # How mature is this project? Common values are\n        #   3 - Alpha\n        #   4 - Beta\n        #   5 - Production/Stable\n        \"Development Status :: 5 - Production/Stable\",\n        # Indicate who your project is intended for\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: Education\",\n        \"Intended Audience :: Information Technology\",\n        \"Intended Audience :: Science/Research\",\n        \"Intended Audience :: System Administrators\",\n        \"Topic :: Education\",\n        \"Topic :: Scientific/Engineering\",\n        \"Topic :: Scientific/Engineering :: Information Analysis\",\n        \"Topic :: Security\",\n        \"Topic :: Software Development :: Build Tools\",\n        # Pick your license as you wish (should match \"license\" above)\n        \"License :: OSI Approved :: Apache Software License\",\n        # Specify the Python versions you support here. In particular, ensure\n        # that you indicate whether you support Python 3 or both.\n        \"Programming Language :: Python :: 3\",\n    ],\n    # What does your project relate to?\n    keywords=\"Data Investigation\",\n    # You can just specify the packages manually here if your project is\n    # simple. Or you can use find_packages().\n    # packages=find_packages(exclude=['src/test', 'src/sample']),\n    packages=find_packages(exclude=[\"tests\", \"examples\"]),\n    # List run-time dependencies here.  These will be installed by pip when\n    # your project is installed. For an analysis of \"install_requires\" vs pip's\n    # requirements files see:\n    # https://packaging.python.org/en/latest/requirements.html\n    install_requires=required_packages,\n    # List of run-time dependencies for the labeler. These will be installed\n    # by pip when someone installs the project[<label>].\n    extras_require={\n        \"ml\": ml_packages,\n        \"reports\": reports_packages,\n        \"full\": ml_packages + reports_packages,\n    },\n    # # If there are data files included in your packages that need to be\n    # # installed, specify them here.  If using Python 2.6 or less, then these\n    # # have to be included in MANIFEST.in as well.\n    # package_data={\n    #     'data': [],\n    # },\n    #\n    # # Although 'package_data' is the preferred approach, in some case you may\n    # # need to place data files outside of your packages. See:\n    # # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa\n    # # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'\n    data_files=default_labeler_files,\n    include_package_data=True,\n)\n\nprint(\"find_packages():\", find_packages())\n", "path": "setup.py"}], "after_files": [{"content": "\"\"\"A setuptools for the Data Profiler Application and Python Libraries.\"\"\"\n\nimport os\n\n# To use a consistent encoding\nfrom codecs import open\nfrom os import path\n\n# Always prefer setuptools over distutils\nfrom setuptools import find_packages, setup\n\n# Load package version\nfrom dataprofiler.version import __version__\n\nhere = path.abspath(path.dirname(__file__))\n\n# Get the long description from the README file\nwith open(path.join(here, \"README.md\"), encoding=\"utf-8\") as f:\n    LONG_DESCRIPTION = f.read()\n\n# Get the install_requirements from requirements.txt\nwith open(path.join(here, \"requirements.txt\"), encoding=\"utf-8\") as f:\n    required_packages = f.read().splitlines()\n\n# Get the install_requirements from requirements-ml.txt\nwith open(path.join(here, \"requirements-ml.txt\"), encoding=\"utf-8\") as f:\n    ml_packages = f.read().splitlines()\n\n# Get the install_requirements from requirements-reports.txt\nwith open(path.join(here, \"requirements-reports.txt\"), encoding=\"utf-8\") as f:\n    reports_packages = f.read().splitlines()\n\nresource_dir = \"resources\"\ndefault_labeler_files = [\n    (d, [os.path.join(d, f) for f in files]) for d, _, files in os.walk(resource_dir)\n]\n\n\nDESCRIPTION = (\n    \"What is in your data? Detect schema, statistics and entities in almost any file.\"\n)\n\nsetup(\n    name=\"DataProfiler\",\n    version=__version__,\n    python_requires=\">=3.8\",\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    # The project's main homepage.\n    url=\"https://github.com/capitalone/data-profiler\",\n    # Author details\n    author=\"Jeremy Goodsitt, Taylor Turner, Michael Davis, Kenny Bean, Tyler Farnan\",\n    # Choose your license\n    license=\"Apache License, Version 2.0\",\n    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers\n    classifiers=[\n        # How mature is this project? Common values are\n        #   3 - Alpha\n        #   4 - Beta\n        #   5 - Production/Stable\n        \"Development Status :: 5 - Production/Stable\",\n        # Indicate who your project is intended for\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: Education\",\n        \"Intended Audience :: Information Technology\",\n        \"Intended Audience :: Science/Research\",\n        \"Intended Audience :: System Administrators\",\n        \"Topic :: Education\",\n        \"Topic :: Scientific/Engineering\",\n        \"Topic :: Scientific/Engineering :: Information Analysis\",\n        \"Topic :: Security\",\n        \"Topic :: Software Development :: Build Tools\",\n        # Pick your license as you wish (should match \"license\" above)\n        \"License :: OSI Approved :: Apache Software License\",\n        # Specify the Python versions you support here. In particular, ensure\n        # that you indicate whether you support Python 3 or both.\n        \"Programming Language :: Python :: 3\",\n    ],\n    # What does your project relate to?\n    keywords=\"Data Investigation\",\n    # You can just specify the packages manually here if your project is\n    # simple. Or you can use find_packages().\n    # packages=find_packages(exclude=['src/test', 'src/sample']),\n    packages=find_packages(exclude=[\"tests\", \"examples\"]),\n    # List run-time dependencies here.  These will be installed by pip when\n    # your project is installed. For an analysis of \"install_requires\" vs pip's\n    # requirements files see:\n    # https://packaging.python.org/en/latest/requirements.html\n    install_requires=required_packages,\n    # List of run-time dependencies for the labeler. These will be installed\n    # by pip when someone installs the project[<label>].\n    extras_require={\n        \"ml\": ml_packages,\n        \"reports\": reports_packages,\n        \"full\": ml_packages + reports_packages,\n    },\n    # # If there are data files included in your packages that need to be\n    # # installed, specify them here.  If using Python 2.6 or less, then these\n    # # have to be included in MANIFEST.in as well.\n    # package_data={\n    #     'data': [],\n    # },\n    #\n    # # Although 'package_data' is the preferred approach, in some case you may\n    # # need to place data files outside of your packages. See:\n    # # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa\n    # # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'\n    data_files=default_labeler_files,\n    include_package_data=True,\n)\n\nprint(\"find_packages():\", find_packages())\n", "path": "setup.py"}]}