<filename>setup.py
import io
import re

from setuptools import setup

with open("README.rst", "r") as f:
    long_description = f.read()

data = io.open("json_modify.py", encoding="utf-8").read()

metadata = dict(re.findall('__([a-z]+)__ = "([^"]+)', data))

setup(
    name="json_modify",
    version=metadata["version"],
    py_modules=["json_modify"],
    install_requires=["PyYAML>=5.3.1"],
    author="<NAME>",
    author_email="<EMAIL>",
    description="Simple to use json/yaml modifier",
    long_description=long_description,
    keywords="json yaml",
    project_urls={
        "Website": "https://github.com/Enacero/json_modify",
        "PyPi": "https://pypi.python.org/pypi/json_modify",
    },
    license=metadata["license"],
    classifiers=[
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    python_requires=">3.5",
)

<filename>setup.py
import io
import re

from setuptools import setup

with open("README.rst", "r") as f:
    long_description = f.read()

data = io.open("json_modify.py", encoding="utf-8").read()

metadata = dict(re.findall('__([a-z]+)__ = "([^"]+)', data))

setup(
    name="json_modify",
    version=metadata["version"],
    py_modules=["json_modify"],
    install_requires=["PyYAML>=5.3.1"],
    author="<NAME>",
    author_email="<EMAIL>",
    description="Simple to use json/yaml modifier",
    long_description=long_description,
    keywords="json yaml",
    project_urls={
        "Website": "https://github.com/Enacero/json_modify",
        "PyPi": "https://pypi.python.org/pypi/json_modify",
    },
    license=metadata["license"],
    classifiers=[
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    python_requires=">3.5",
)
