Passed
Pull Request — master (#28)
by
unknown
01:08
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
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
    with open(long_description_file_path) as f:
19
        long_description = f.read()
20
except IOError:
21
    pass
22
23
setup(
24
    name=package_name,
25
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
26
    include_package_data=True,
27
    version=__version__,
28
    description=__description__,
29
    long_description=long_description,
30
    long_description_content_type=long_description_content_type,
31
    author=__author__,
32
    author_email=__email__,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable __email__ does not seem to be defined.
Loading history...
33
    url=package_url,
34
    download_url='{}/archive/{}.tar.gz'.format(package_url, __version__),
35
    keywords=[
36
        'python', 'dictionary', 'dictionaries', 'dict', 'benedict',
37
        'subclass', 'extended', 'keylist', 'keypath', 'utility', 'io',
38
        'data', 'file', 'url', 'read', 'write', 'parse',
39
        'base64', 'csv', 'json', 'query-string', 'toml', 'xml', 'yaml',
40
        'clean', 'clone', 'deepclone', 'deepupdate', 'dump',
41
        'filter', 'flatten', 'groupby', 'invert', 'merge',
42
        'move', 'nest', 'remove', 'rename', 'search', 'standardize',
43
        'subset', 'swap', 'traverse', 'unflatten', 'unique',
44
    ],
45
    install_requires=[
46
        'ftfy==4.4.3;python_version<"3.4"',
47
        'ftfy;python_version>"2.7"',
48
        'mailchecker',
49
        'phonenumbers',
50
        'python-dateutil',
51
        'python-slugify',
52
        'pyyaml',
53
        'requests',
54
        'six',
55
        'toml',
56
        'xmltodict',
57
    ],
58
    classifiers=[
59
        'Development Status :: 5 - Production/Stable',
60
        'Environment :: Web Environment',
61
        'Intended Audience :: Developers',
62
        'License :: OSI Approved :: MIT License',
63
        'Natural Language :: English',
64
        'Operating System :: OS Independent',
65
        'Programming Language :: Python :: 2',
66
        'Programming Language :: Python :: 2.7',
67
        'Programming Language :: Python :: 3',
68
        'Programming Language :: Python :: 3.4',
69
        'Programming Language :: Python :: 3.5',
70
        'Programming Language :: Python :: 3.6',
71
        'Programming Language :: Python :: 3.7',
72
        'Programming Language :: Python :: 3.8',
73
        'Topic :: Software Development :: Build Tools',
74
    ],
75
    license=__license__,
76
    test_suite='tests'
77
)
78