diff --git a/.gitignore b/.gitignore index db59102..845ceeb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ build/ .coverage venv/ +.pyenv/ diff --git a/setup.py b/setup.py index 409f284..4dd200e 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,14 @@ """ Generates random but realistic user agents on a command line (or via API) """ -from setuptools import find_packages, setup from os import path + +from setuptools import find_packages, setup + this_directory = path.abspath(path.dirname(__file__)) -with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: +with open(path.join(this_directory, "README.md"), encoding="utf-8") as f: long_description = f.read() setup( @@ -18,27 +20,31 @@ author_email="cmrhorsley@gmail.com", description="Generates random but realistic user agents on a command line (or via API)", long_description=long_description, - long_description_content_type='text/markdown', + long_description_content_type="text/markdown", packages=find_packages(exclude=["tests"]), include_package_data=True, zip_safe=False, platforms="any", install_requires=[ "aiocontextvars==0.2.2; python_version < '3.7'", - "certifi==2020.6.20", + "certifi>=2024.8.30", "chardet==3.0.4", "contextvars==2.4; python_version < '3.7'", "docopt==0.6.2", - "idna==2.10; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "immutables==0.14; python_version >= '3.5'", + "idna>3.6; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "immutables==0.19; python_version >= '3.5'", "loguru==0.5.1", - "requests==2.24.0", + "requests", "ua-parser==0.10.0", - "urllib3==1.25.9; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'", + "urllib3>=1.26.17; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'", "user-agents==2.1", ], dependency_links=[], - entry_points={"console_scripts": ["uagen = ua_gen.cli:main",],}, + entry_points={ + "console_scripts": [ + "uagen = ua_gen.cli:main", + ], + }, classifiers=[ # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers # 'Development Status :: 1 - Planning',