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