Passed
Push — master ( 542c3c...d9c7e7 )
by Fabio
01:02
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, sys
7
8
exec(open('benedict/metadata.py').read())
9
10
github_url = 'https://github.com/fabiocaccamo'
11
package_name = 'python-benedict'
12
package_url = '{}/{}'.format(github_url, package_name)
13
package_path = os.path.abspath(os.path.dirname(__file__))
14
long_description_file_path = os.path.join(package_path, 'README.md')
15
long_description_content_type = 'text/markdown'
16
long_description = ''
17
try:
18
    long_description_file_options = {} if sys.version_info[0] < 3 else { 'encoding':'utf-8' }
19
    with open(long_description_file_path, 'r', **long_description_file_options) 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
    keywords=[
37
        'python', 'dictionary', 'dictionaries', 'dict', 'benedict',
38
        'subclass', 'extended', 'keylist', 'keypath', 'utility', 'io',
39
        'data', 'file', 'url', 'read', 'write', 'parse',
40
        'configparser', 'config', 'cfg', 'pickle', 'plist',
41
        'base64', 'csv', 'ini', 'json', 'query-string', 'toml', 'xml', 'yaml',
42
        'clean', 'clone', 'deepclone', 'deepupdate', 'dump',
43
        'filter', 'flatten', 'groupby', 'invert', 'merge',
44
        'move', 'nest', 'remove', 'rename', 'search', 'standardize',
45
        'subset', 'swap', 'traverse', 'unflatten', 'unique',
46
    ],
47
    install_requires=[
48
        'ftfy == 4.4.3; python_version <= "2.7"',
49
        'ftfy == 5.9.0; python_version == "3.5"',
50
        'ftfy; python_version >= "3.6"',
51
        'mailchecker',
52
        'phonenumbers',
53
        'python-dateutil',
54
        'python-fsutil',
55
        'python-slugify',
56
        'pyyaml',
57
        'requests',
58
        'six',
59
        'toml',
60
        'xmltodict',
61
    ],
62
    classifiers=[
63
        'Development Status :: 5 - Production/Stable',
64
        'Environment :: MacOS X',
65
        'Environment :: Other Environment',
66
        'Environment :: Web Environment',
67
        'Environment :: Win32 (MS Windows)',
68
        'Intended Audience :: Developers',
69
        'Intended Audience :: Education',
70
        'Intended Audience :: Information Technology',
71
        'Intended Audience :: Science/Research',
72
        'Intended Audience :: System Administrators',
73
        'License :: OSI Approved :: MIT License',
74
        'Natural Language :: English',
75
        'Operating System :: OS Independent',
76
        'Programming Language :: Python :: 2',
77
        'Programming Language :: Python :: 2.7',
78
        'Programming Language :: Python :: 3',
79
        'Programming Language :: Python :: 3.5',
80
        'Programming Language :: Python :: 3.6',
81
        'Programming Language :: Python :: 3.7',
82
        'Programming Language :: Python :: 3.8',
83
        'Programming Language :: Python :: 3.9',
84
        'Programming Language :: Python :: 3.10',
85
        'Topic :: Education :: Testing',
86
        'Topic :: Software Development :: Build Tools',
87
        'Topic :: System :: Filesystems',
88
        'Topic :: Text Processing :: Markup :: XML',
89
        'Topic :: Utilities',
90
    ],
91
    license=__license__,
92
    test_suite='tests'
93
)
94