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_path = os.path.abspath(os.path.dirname(__file__)) |
||
16 | long_description_file_path = os.path.join(package_path, "README.md") |
||
17 | long_description_content_type = "text/markdown" |
||
18 | long_description = "" |
||
19 | try: |
||
20 | with open(long_description_file_path, "r", encoding="utf-8") as f: |
||
21 | long_description = f.read() |
||
22 | except IOError: |
||
23 | pass |
||
24 | |||
25 | setup( |
||
26 | name=package_name, |
||
27 | packages=find_packages(exclude=["contrib", "docs", "tests*"]), |
||
28 | include_package_data=True, |
||
29 | version=__version__, |
||
30 | description=__description__, |
||
31 | long_description=long_description, |
||
32 | long_description_content_type=long_description_content_type, |
||
33 | author=__author__, |
||
34 | author_email=__email__, |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
35 | url=package_url, |
||
36 | download_url="{}/archive/{}.tar.gz".format(package_url, __version__), |
||
37 | project_urls={ |
||
38 | "Documentation": "{}#readme".format(package_url), |
||
39 | "Issues": "{}/issues".format(package_url), |
||
40 | "Funding": sponsor_url, |
||
41 | "Twitter": twitter_url, |
||
42 | }, |
||
43 | keywords=[ |
||
44 | "python", |
||
45 | "dictionary", |
||
46 | "dictionaries", |
||
47 | "dict", |
||
48 | "benedict", |
||
49 | "subclass", |
||
50 | "extended", |
||
51 | "keylist", |
||
52 | "keypath", |
||
53 | "utility", |
||
54 | "io", |
||
55 | "data", |
||
56 | "file", |
||
57 | "url", |
||
58 | "read", |
||
59 | "write", |
||
60 | "parse", |
||
61 | "configparser", |
||
62 | "config", |
||
63 | "cfg", |
||
64 | "pickle", |
||
65 | "plist", |
||
66 | "base64", |
||
67 | "csv", |
||
68 | "ini", |
||
69 | "json", |
||
70 | "query-string", |
||
71 | "toml", |
||
72 | "xml", |
||
73 | "yaml", |
||
74 | "clean", |
||
75 | "clone", |
||
76 | "deepclone", |
||
77 | "deepupdate", |
||
78 | "dump", |
||
79 | "filter", |
||
80 | "flatten", |
||
81 | "groupby", |
||
82 | "invert", |
||
83 | "merge", |
||
84 | "move", |
||
85 | "nest", |
||
86 | "remove", |
||
87 | "rename", |
||
88 | "search", |
||
89 | "standardize", |
||
90 | "subset", |
||
91 | "swap", |
||
92 | "traverse", |
||
93 | "unflatten", |
||
94 | "unique", |
||
95 | ], |
||
96 | install_requires=[ |
||
97 | "ftfy >= 6.0.0, < 7.0.0", |
||
98 | "mailchecker >= 4.1.0, < 5.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, < 7.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 | "xmltodict >= 0.12.0, < 1.0.0", |
||
107 | ], |
||
108 | classifiers=[ |
||
109 | "Development Status :: 5 - Production/Stable", |
||
110 | "Environment :: MacOS X", |
||
111 | "Environment :: Other Environment", |
||
112 | "Environment :: Web Environment", |
||
113 | "Environment :: Win32 (MS Windows)", |
||
114 | "Intended Audience :: Developers", |
||
115 | "Intended Audience :: Education", |
||
116 | "Intended Audience :: Information Technology", |
||
117 | "Intended Audience :: Science/Research", |
||
118 | "Intended Audience :: System Administrators", |
||
119 | "License :: OSI Approved :: MIT License", |
||
120 | "Natural Language :: English", |
||
121 | "Operating System :: OS Independent", |
||
122 | "Programming Language :: Python :: 3", |
||
123 | "Programming Language :: Python :: 3.6", |
||
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 | "Topic :: Education :: Testing", |
||
129 | "Topic :: Software Development :: Build Tools", |
||
130 | "Topic :: System :: Filesystems", |
||
131 | "Topic :: Text Processing :: Markup :: XML", |
||
132 | "Topic :: Utilities", |
||
133 | ], |
||
134 | license=__license__, |
||
135 | test_suite="tests", |
||
136 | ) |
||
137 |