Passed
Push — master ( c8b85d...f9f6ee )
by Fabio
01:11
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=['benedict', 'python', 'dict', 'keypath', 'parse', 'utility'],
36
    install_requires=[
37
        'ftfy==4.4.3;python_version<"3.4"',
38
        'ftfy;python_version>"2.7"',
39
        'mailchecker',
40
        'phonenumbers',
41
        'python-dateutil',
42
        'python-slugify',
43
        'pyyaml',
44
        'requests',
45
        'six',
46
        'toml',
47
        'xmltodict',
48
    ],
49
    classifiers=[
50
        'Development Status :: 5 - Production/Stable',
51
        'Environment :: Web Environment',
52
        'Intended Audience :: Developers',
53
        'License :: OSI Approved :: MIT License',
54
        'Natural Language :: English',
55
        'Operating System :: OS Independent',
56
        'Programming Language :: Python :: 2',
57
        'Programming Language :: Python :: 2.7',
58
        'Programming Language :: Python :: 3',
59
        'Programming Language :: Python :: 3.4',
60
        'Programming Language :: Python :: 3.5',
61
        'Programming Language :: Python :: 3.6',
62
        'Programming Language :: Python :: 3.7',
63
        'Topic :: Software Development :: Build Tools',
64
    ],
65
    license=__license__,
1 ignored issue
show
Comprehensibility Best Practice introduced by
The variable __license__ does not seem to be defined.
Loading history...
66
    test_suite='tests'
67
)
68