2019-05-17 11:13:15 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2019-06-11 16:40:46 +00:00
|
|
|
import os
|
2019-05-17 11:13:15 +00:00
|
|
|
|
2019-06-19 16:37:53 +00:00
|
|
|
exec(open('benedict/metadata.py').read())
|
|
|
|
|
2019-05-17 11:13:15 +00:00
|
|
|
github_url = 'https://github.com/fabiocaccamo'
|
|
|
|
package_name = 'python-benedict'
|
|
|
|
package_path = os.path.abspath(os.path.dirname(__file__))
|
2019-07-03 12:26:59 +00:00
|
|
|
long_description_file_path = os.path.join(package_path, 'README.md')
|
|
|
|
long_description_content_type = 'text/markdown'
|
2019-05-17 11:13:15 +00:00
|
|
|
long_description = ''
|
|
|
|
try:
|
|
|
|
with open(long_description_file_path) as f:
|
|
|
|
long_description = f.read()
|
|
|
|
except IOError:
|
|
|
|
pass
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=package_name,
|
|
|
|
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
|
|
|
|
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__,
|
2019-06-19 16:00:48 +00:00
|
|
|
url='{}/{}'.format(github_url, package_name),
|
|
|
|
download_url='{}/{}/archive/{}.tar.gz'.format(
|
|
|
|
github_url, package_name, __version__),
|
2019-07-10 09:24:43 +00:00
|
|
|
keywords=[
|
|
|
|
'python', 'dictionary', 'dict', 'subclass', 'extended',
|
2019-10-14 12:47:49 +00:00
|
|
|
'benedict', 'io', 'read', 'write', 'parse', 'keypath',
|
|
|
|
'utility', 'data', 'base64', 'json', 'query-string',
|
|
|
|
'toml', 'xml', 'yaml', 'clean', 'clone', 'deepclone',
|
|
|
|
'deepupdate', 'dump', 'filter', 'flatten', 'invert',
|
|
|
|
'merge', 'move', 'remove', 'subset', 'swap', 'unique',
|
2019-07-10 10:01:46 +00:00
|
|
|
],
|
2019-06-11 16:40:46 +00:00
|
|
|
install_requires=[
|
|
|
|
'ftfy==4.4.3;python_version<"3.4"',
|
|
|
|
'ftfy;python_version>"2.7"',
|
2019-06-17 15:33:28 +00:00
|
|
|
'mailchecker',
|
|
|
|
'phonenumbers',
|
2019-06-11 16:40:46 +00:00
|
|
|
'python-dateutil',
|
|
|
|
'python-slugify',
|
2019-07-03 12:26:59 +00:00
|
|
|
'pyyaml',
|
|
|
|
'requests',
|
|
|
|
'six',
|
|
|
|
'toml',
|
|
|
|
'xmltodict',
|
2019-06-11 16:40:46 +00:00
|
|
|
],
|
2019-05-17 11:13:15 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
2019-06-01 15:22:00 +00:00
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
2019-05-17 11:13:15 +00:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
'Topic :: Software Development :: Build Tools',
|
|
|
|
],
|
2019-06-19 16:00:48 +00:00
|
|
|
license=__license__,
|
2019-05-17 11:13:15 +00:00
|
|
|
test_suite='tests'
|
|
|
|
)
|