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
![]() |
|||
27 | description=__description__, |
||
1 ignored issue
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
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
|
|||
31 | author_email=__email__, |
||
1 ignored issue
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
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', 'keypath', 'parse', 'utility', 'data', |
||
38 | 'base64', 'json', 'querystring', 'toml', 'yaml', 'xml', |
||
39 | ], |
||
40 | install_requires=[ |
||
41 | 'ftfy==4.4.3;python_version<"3.4"', |
||
42 | 'ftfy;python_version>"2.7"', |
||
43 | 'mailchecker', |
||
44 | 'phonenumbers', |
||
45 | 'python-dateutil', |
||
46 | 'python-slugify', |
||
47 | 'pyyaml', |
||
48 | 'requests', |
||
49 | 'six', |
||
50 | 'toml', |
||
51 | 'xmltodict', |
||
52 | ], |
||
53 | classifiers=[ |
||
54 | 'Development Status :: 5 - Production/Stable', |
||
55 | 'Environment :: Web Environment', |
||
56 | 'Intended Audience :: Developers', |
||
57 | 'License :: OSI Approved :: MIT License', |
||
58 | 'Natural Language :: English', |
||
59 | 'Operating System :: OS Independent', |
||
60 | 'Programming Language :: Python :: 2', |
||
61 | 'Programming Language :: Python :: 2.7', |
||
62 | 'Programming Language :: Python :: 3', |
||
63 | 'Programming Language :: Python :: 3.4', |
||
64 | 'Programming Language :: Python :: 3.5', |
||
65 | 'Programming Language :: Python :: 3.6', |
||
66 | 'Programming Language :: Python :: 3.7', |
||
67 | 'Topic :: Software Development :: Build Tools', |
||
68 | ], |
||
69 | license=__license__, |
||
1 ignored issue
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
70 | test_suite='tests' |
||
71 | ) |
||
72 |