Passed
Push — master ( 9fdc5b...a7edec )
by Fabio
01:16
created

setup.py (1 issue)

1
#!/usr/bin/env python
2
import os
3
4
from setuptools import find_packages, setup
5
6
exec(open("benedict/metadata.py").read())
7
8
github_url = "https://github.com/fabiocaccamo"
9
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
10
twitter_url = "https://twitter.com/fabiocaccamo"
11
package_name = "python-benedict"
12
package_url = "{}/{}".format(github_url, package_name)
13
package_path = os.path.abspath(os.path.dirname(__file__))
14
long_description_file_path = os.path.join(package_path, "README.md")
15
long_description_content_type = "text/markdown"
16
long_description = ""
17
try:
18
    with open(long_description_file_path, "r", encoding="utf-8") as f:
19
        long_description = f.read()
20
except IOError:
21
    pass
22
23
setup(
24
    name=package_name,
25
    packages=find_packages(exclude=["contrib", "docs", "tests*"]),
26
    include_package_data=True,
27
    version=__version__,
28
    description=__description__,
29
    long_description=long_description,
30
    long_description_content_type=long_description_content_type,
31
    author=__author__,
32
    author_email=__email__,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable __email__ does not seem to be defined.
Loading history...
33
    url=package_url,
34
    download_url="{}/archive/{}.tar.gz".format(package_url, __version__),
35
    project_urls={
36
        "Documentation": "{}#readme".format(package_url),
37
        "Issues": "{}/issues".format(package_url),
38
        "Funding": sponsor_url,
39
        "Twitter": twitter_url,
40
    },
41
    keywords=[
42
        "python",
43
        "dictionary",
44
        "dictionaries",
45
        "dict",
46
        "benedict",
47
        "subclass",
48
        "extended",
49
        "keylist",
50
        "keypath",
51
        "utility",
52
        "io",
53
        "data",
54
        "file",
55
        "url",
56
        "read",
57
        "write",
58
        "parse",
59
        "configparser",
60
        "config",
61
        "cfg",
62
        "pickle",
63
        "plist",
64
        "base64",
65
        "csv",
66
        "ini",
67
        "json",
68
        "query-string",
69
        "toml",
70
        "xml",
71
        "yaml",
72
        "clean",
73
        "clone",
74
        "deepclone",
75
        "deepupdate",
76
        "dump",
77
        "filter",
78
        "flatten",
79
        "groupby",
80
        "invert",
81
        "merge",
82
        "move",
83
        "nest",
84
        "remove",
85
        "rename",
86
        "search",
87
        "standardize",
88
        "subset",
89
        "swap",
90
        "traverse",
91
        "unflatten",
92
        "unique",
93
    ],
94
    install_requires=[
95
        "boto3 >= 1.24.89, < 2.0.0",
96
        "ftfy >= 6.0.0, < 7.0.0",
97
        "mailchecker >= 4.1.0, < 6.0.0",
98
        "openpyxl >= 3.0.0, < 4.0.0",
99
        "phonenumbers >= 8.12.0, < 9.0.0",
100
        "python-dateutil >= 2.8.0, < 3.0.0",
101
        "python-fsutil >= 0.6.0, < 1.0.0",
102
        "python-slugify >= 6.0.1, < 8.0.0",
103
        "pyyaml >= 6.0, < 7.0",
104
        "requests >= 2.26.0, < 3.0.0",
105
        "toml >= 0.10.2, < 1.0.0",
106
        "xlrd >= 2.0.0, < 3.0.0",
107
        "xmltodict >= 0.12.0, < 1.0.0",
108
    ],
109
    classifiers=[
110
        "Development Status :: 5 - Production/Stable",
111
        "Environment :: MacOS X",
112
        "Environment :: Other Environment",
113
        "Environment :: Web Environment",
114
        "Environment :: Win32 (MS Windows)",
115
        "Intended Audience :: Developers",
116
        "Intended Audience :: Education",
117
        "Intended Audience :: Information Technology",
118
        "Intended Audience :: Science/Research",
119
        "Intended Audience :: System Administrators",
120
        "License :: OSI Approved :: MIT License",
121
        "Natural Language :: English",
122
        "Operating System :: OS Independent",
123
        "Programming Language :: Python :: 3",
124
        "Programming Language :: Python :: 3.7",
125
        "Programming Language :: Python :: 3.8",
126
        "Programming Language :: Python :: 3.9",
127
        "Programming Language :: Python :: 3.10",
128
        "Programming Language :: Python :: 3.11",
129
        "Topic :: Education :: Testing",
130
        "Topic :: Software Development :: Build Tools",
131
        "Topic :: System :: Filesystems",
132
        "Topic :: Text Processing :: Markup :: XML",
133
        "Topic :: Utilities",
134
    ],
135
    license=__license__,
136
    test_suite="tests",
137
)
138