Repository: textstat/textstat (language: python)

Issue:
Python 3.12 compat fix
With Python 3.12 I get the following error.

```
File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\textstat\textstat.py:7
      4 from collections import Counter
      5 from typing import Union, List, Set
----> 7 import pkg_resources
      8 from functools import lru_cache
      9 from pyphen import Pyphen

ModuleNotFoundError: No module named 'pkg_resources'
```

I think this is due to the following change:
 - [PEP 632](https://peps.python.org/pep-0632/)
 - [gh-95299]https://docs.python.org/3/whatsnew/3.12.html#:~:text=%2C%20setuptools%2C-,pkg_resources,-%2C%20and%20easy_install%20will)

I have not tested the fix.


Discussion / hints:

Fix patch:
diff --git a/Pipfile b/Pipfile
index 7ba1b18..9a1a58b 100644
--- a/Pipfile
+++ b/Pipfile
@@ -6,6 +6,7 @@ name = "pypi"
 [packages]
 Pyphen = "*"
 "repoze.lru" = "*"
+setuptools = "*"
 
 [dev-packages]
 codespell = "*"
diff --git a/requirements.txt b/requirements.txt
index 23a8e8d..3bda01d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,1 +1,2 @@
 Pyphen
+setuptools
diff --git a/setup.py b/setup.py
index 06b46d9..b305aef 100644
--- a/setup.py
+++ b/setup.py
@@ -4,24 +4,27 @@
 setup(
     name='textstat',
     packages=['textstat'],
-    version='0.7.3',
+    version='0.7.4',
     description='Calculate statistical features from text',
     author='Shivam Bansal, Chaitanya Aggarwal',
     author_email='shivam5992@gmail.com',
-    url='https://github.com/shivam5992/textstat',
+    url='https://github.com/textstat/textstat',
     long_description=open('README.md', encoding='utf-8').read(),
     long_description_content_type='text/markdown',
     package_data={'': ['easy_word_list']},
     include_package_data=True,
-    install_requires=['pyphen'],
+    install_requires=['pyphen', 'setuptools'],
     license='MIT',
     python_requires=">=3.6",
     classifiers=(
         "Programming Language :: Python",
         "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
         "Programming Language :: Python :: 3 :: Only",
         "Intended Audience :: Developers",
         "Intended Audience :: Education",


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0a954b1..626f0ff 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,7 +16,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
+        python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
 
     steps:
     - uses: actions/checkout@v2
@@ -46,3 +46,8 @@ jobs:
       if: ${{ !cancelled() }}
       run: |
         pipenv run pytest test.py
+
+    - name: Test installing
+      if: ${{ !cancelled() }}
+      run: |
+        pip install .