Passed
Pull Request — master (#114)
by
unknown
01:32
created

setup.py (1 issue)

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