2019-05-17 11:13:15 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2022-02-17 22:54:30 +00:00
|
|
|
import os
|
2019-05-17 11:13:15 +00:00
|
|
|
|
2022-01-12 01:14:51 +00:00
|
|
|
exec(open("benedict/metadata.py").read())
|
2019-06-19 16:37:53 +00:00
|
|
|
|
2022-01-12 01:14:51 +00:00
|
|
|
github_url = "https://github.com/fabiocaccamo"
|
|
|
|
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
|
|
|
|
twitter_url = "https://twitter.com/fabiocaccamo"
|
|
|
|
package_name = "python-benedict"
|
|
|
|
package_url = "{}/{}".format(github_url, package_name)
|
2019-05-17 11:13:15 +00:00
|
|
|
package_path = os.path.abspath(os.path.dirname(__file__))
|
2022-01-12 01:14:51 +00:00
|
|
|
long_description_file_path = os.path.join(package_path, "README.md")
|
|
|
|
long_description_content_type = "text/markdown"
|
|
|
|
long_description = ""
|
2019-05-17 11:13:15 +00:00
|
|
|
try:
|
2022-02-17 22:54:30 +00:00
|
|
|
with open(long_description_file_path, "r", encoding="utf-8") as f:
|
2019-05-17 11:13:15 +00:00
|
|
|
long_description = f.read()
|
|
|
|
except IOError:
|
|
|
|
pass
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=package_name,
|
2022-01-12 01:14:51 +00:00
|
|
|
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
|
2019-05-17 11:13:15 +00:00
|
|
|
include_package_data=True,
|
|
|
|
version=__version__,
|
|
|
|
description=__description__,
|
|
|
|
long_description=long_description,
|
2019-07-03 12:26:59 +00:00
|
|
|
long_description_content_type=long_description_content_type,
|
2019-05-17 11:13:15 +00:00
|
|
|
author=__author__,
|
2019-06-01 15:22:00 +00:00
|
|
|
author_email=__email__,
|
2020-02-17 11:57:30 +00:00
|
|
|
url=package_url,
|
2022-01-12 01:14:51 +00:00
|
|
|
download_url="{}/archive/{}.tar.gz".format(package_url, __version__),
|
|
|
|
project_urls={
|
2022-03-15 07:57:53 +00:00
|
|
|
"Documentation": "{}#readme".format(package_url),
|
|
|
|
"Issues": "{}/issues".format(package_url),
|
2022-01-12 01:14:51 +00:00
|
|
|
"Funding": sponsor_url,
|
|
|
|
"Twitter": twitter_url,
|
|
|
|
},
|
2019-07-10 09:24:43 +00:00
|
|
|
keywords=[
|
2022-01-12 01:14:51 +00:00
|
|
|
"python",
|
|
|
|
"dictionary",
|
|
|
|
"dictionaries",
|
|
|
|
"dict",
|
|
|
|
"benedict",
|
|
|
|
"subclass",
|
|
|
|
"extended",
|
|
|
|
"keylist",
|
|
|
|
"keypath",
|
|
|
|
"utility",
|
|
|
|
"io",
|
|
|
|
"data",
|
|
|
|
"file",
|
|
|
|
"url",
|
|
|
|
"read",
|
|
|
|
"write",
|
|
|
|
"parse",
|
|
|
|
"configparser",
|
|
|
|
"config",
|
|
|
|
"cfg",
|
|
|
|
"pickle",
|
|
|
|
"plist",
|
|
|
|
"base64",
|
|
|
|
"csv",
|
|
|
|
"ini",
|
|
|
|
"json",
|
|
|
|
"query-string",
|
|
|
|
"toml",
|
|
|
|
"xml",
|
|
|
|
"yaml",
|
|
|
|
"clean",
|
|
|
|
"clone",
|
|
|
|
"deepclone",
|
|
|
|
"deepupdate",
|
|
|
|
"dump",
|
|
|
|
"filter",
|
|
|
|
"flatten",
|
|
|
|
"groupby",
|
|
|
|
"invert",
|
|
|
|
"merge",
|
|
|
|
"move",
|
|
|
|
"nest",
|
|
|
|
"remove",
|
|
|
|
"rename",
|
|
|
|
"search",
|
|
|
|
"standardize",
|
|
|
|
"subset",
|
|
|
|
"swap",
|
|
|
|
"traverse",
|
|
|
|
"unflatten",
|
|
|
|
"unique",
|
2019-07-10 10:01:46 +00:00
|
|
|
],
|
2019-06-11 16:40:46 +00:00
|
|
|
install_requires=[
|
2022-10-12 13:12:03 +00:00
|
|
|
"boto3 >= 1.24.89, < 2.0.0",
|
2022-02-17 23:06:53 +00:00
|
|
|
"ftfy >= 6.0.0, < 7.0.0",
|
2022-08-08 12:49:35 +00:00
|
|
|
"mailchecker >= 4.1.0, < 6.0.0",
|
2022-10-05 14:43:46 +00:00
|
|
|
"openpyxl >= 3.0.0, < 4.0.0",
|
2022-02-17 23:06:53 +00:00
|
|
|
"phonenumbers >= 8.12.0, < 9.0.0",
|
|
|
|
"python-dateutil >= 2.8.0, < 3.0.0",
|
|
|
|
"python-fsutil >= 0.6.0, < 1.0.0",
|
|
|
|
"python-slugify >= 6.0.1, < 7.0.0",
|
|
|
|
"pyyaml >= 6.0, < 7.0",
|
|
|
|
"requests >= 2.26.0, < 3.0.0",
|
|
|
|
"toml >= 0.10.2, < 1.0.0",
|
2022-10-05 14:43:46 +00:00
|
|
|
"xlrd >= 2.0.0, < 3.0.0",
|
2022-02-17 23:06:53 +00:00
|
|
|
"xmltodict >= 0.12.0, < 1.0.0",
|
2019-06-11 16:40:46 +00:00
|
|
|
],
|
2019-05-17 11:13:15 +00:00
|
|
|
classifiers=[
|
2022-01-12 01:14:51 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Environment :: MacOS X",
|
|
|
|
"Environment :: Other Environment",
|
|
|
|
"Environment :: Web Environment",
|
|
|
|
"Environment :: Win32 (MS Windows)",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Education",
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"Intended Audience :: Science/Research",
|
|
|
|
"Intended Audience :: System Administrators",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Topic :: Education :: Testing",
|
|
|
|
"Topic :: Software Development :: Build Tools",
|
|
|
|
"Topic :: System :: Filesystems",
|
|
|
|
"Topic :: Text Processing :: Markup :: XML",
|
|
|
|
"Topic :: Utilities",
|
2019-05-17 11:13:15 +00:00
|
|
|
],
|
2019-06-19 16:00:48 +00:00
|
|
|
license=__license__,
|
2022-01-12 01:14:51 +00:00
|
|
|
test_suite="tests",
|
2019-05-17 11:13:15 +00:00
|
|
|
)
|