Passed
Push — master ( 78496c...e79444 )
by Fabio
07:44 queued 06:14
created

setup.py (1 issue)

1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
from setuptools import find_packages, setup
5
6
import os
7
8
exec(open("benedict/metadata.py").read())
9
10
github_url = "https://github.com/fabiocaccamo"
11
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
12
twitter_url = "https://twitter.com/fabiocaccamo"
13
package_name = "python-benedict"
14
package_url = "{}/{}".format(github_url, package_name)
15
package_issues_url = "{}/issues".format(github_url)
16
package_path = os.path.abspath(os.path.dirname(__file__))
17
long_description_file_path = os.path.join(package_path, "README.md")
18
long_description_content_type = "text/markdown"
19
long_description = ""
20
try:
21
    with open(long_description_file_path, "r", encoding="utf-8") as f:
22
        long_description = f.read()
23
except IOError:
24
    pass
25
26
setup(
27
    name=package_name,
28
    packages=find_packages(exclude=["contrib", "docs", "tests*"]),
29
    include_package_data=True,
30
    version=__version__,
31
    description=__description__,
32
    long_description=long_description,
33
    long_description_content_type=long_description_content_type,
34
    author=__author__,
35
    author_email=__email__,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable __email__ does not seem to be defined.
Loading history...
36
    url=package_url,
37
    download_url="{}/archive/{}.tar.gz".format(package_url, __version__),
38
    project_urls={
39
        "Documentation": package_url,
40
        "Issues": package_issues_url,
41
        "Funding": sponsor_url,
42
        "Twitter": twitter_url,
43
    },
44
    keywords=[
45
        "python",
46
        "dictionary",
47
        "dictionaries",
48
        "dict",
49
        "benedict",
50
        "subclass",
51
        "extended",
52
        "keylist",
53
        "keypath",
54
        "utility",
55
        "io",
56
        "data",
57
        "file",
58
        "url",
59
        "read",
60
        "write",
61
        "parse",
62
        "configparser",
63
        "config",
64
        "cfg",
65
        "pickle",
66
        "plist",
67
        "base64",
68
        "csv",
69
        "ini",
70
        "json",
71
        "query-string",
72
        "toml",
73
        "xml",
74
        "yaml",
75
        "clean",
76
        "clone",
77
        "deepclone",
78
        "deepupdate",
79
        "dump",
80
        "filter",
81
        "flatten",
82
        "groupby",
83
        "invert",
84
        "merge",
85
        "move",
86
        "nest",
87
        "remove",
88
        "rename",
89
        "search",
90
        "standardize",
91
        "subset",
92
        "swap",
93
        "traverse",
94
        "unflatten",
95
        "unique",
96
    ],
97
    install_requires=[
98
        "ftfy >= 6.0.0, < 7.0.0",
99
        "mailchecker >= 4.1.0, < 5.0.0",
100
        "phonenumbers >= 8.12.0, < 9.0.0",
101
        "python-dateutil >= 2.8.0, < 3.0.0",
102
        "python-fsutil >= 0.6.0, < 1.0.0",
103
        "python-slugify >= 6.0.1, < 7.0.0",
104
        "pyyaml >= 6.0, < 7.0",
105
        "requests >= 2.26.0, < 3.0.0",
106
        "toml >= 0.10.2, < 1.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.6",
125
        "Programming Language :: Python :: 3.7",
126
        "Programming Language :: Python :: 3.8",
127
        "Programming Language :: Python :: 3.9",
128
        "Programming Language :: Python :: 3.10",
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