|
2 | 2 | # where package_data is expected to be str and not unicode. |
3 | 3 | from __future__ import absolute_import, division, print_function |
4 | 4 |
|
| 5 | +import codecs |
5 | 6 | import os |
6 | 7 | import sys |
7 | 8 |
|
|
43 | 44 | with open('test/requirements.txt') as f: |
44 | 45 | test_reqs += f.read().splitlines() |
45 | 46 |
|
46 | | -with open('LICENSE') as f: |
47 | | - LICENSE = f.read() |
48 | | - |
49 | | -with open('README.rst') as f: |
| 47 | +with codecs.open('README.rst', encoding='utf-8') as f: |
50 | 48 | README = f.read() |
51 | 49 |
|
52 | 50 | dist = setup( |
53 | 51 | name='dropbox', |
54 | 52 | version=version, |
55 | | - description='Official Dropbox API Client', |
56 | | - author='Dropbox', |
57 | | - author_email='dev-platform@dropbox.com', |
58 | | - url='http://www.dropbox.com/developers', |
59 | 53 | install_requires=install_reqs, |
60 | 54 | setup_requires=setup_requires, |
61 | 55 | tests_require=test_reqs, |
62 | | - license=LICENSE, |
63 | | - zip_safe=False, |
64 | 56 | packages=['dropbox'], |
65 | 57 | package_data={'dropbox': ['trusted-certs.crt']}, |
| 58 | + zip_safe=False, |
| 59 | + author_email='dev-platform@dropbox.com', |
| 60 | + author='Dropbox', |
| 61 | + description='Official Dropbox API Client', |
| 62 | + license='MIT License', |
66 | 63 | long_description=README, |
67 | | - platforms=[ |
68 | | - 'CPython 2.7', |
69 | | - 'CPython 3.3', |
70 | | - 'CPython 3.4', |
71 | | - 'CPython 3.5', |
72 | | - 'CPython 3.6', |
73 | | - ], |
| 64 | + url='http://www.dropbox.com/developers', |
| 65 | + # From <https://pypi.python.org/pypi?%3Aaction=list_classifiers> |
74 | 66 | classifiers=[ |
75 | 67 | 'Development Status :: 4 - Beta', |
76 | 68 | 'Intended Audience :: Developers', |
77 | 69 | 'License :: OSI Approved :: MIT License', |
78 | | - 'Operating System :: POSIX', |
79 | | - 'Operating System :: Microsoft :: Windows', |
80 | | - 'Operating System :: MacOS :: MacOS X', |
| 70 | + 'Operating System :: OS Independent', |
| 71 | + 'Programming Language :: Python', |
81 | 72 | 'Programming Language :: Python :: 2.7', |
82 | 73 | 'Programming Language :: Python :: 3.3', |
83 | 74 | 'Programming Language :: Python :: 3.4', |
84 | 75 | 'Programming Language :: Python :: 3.5', |
85 | 76 | 'Programming Language :: Python :: 3.6', |
| 77 | + 'Programming Language :: Python :: Implementation :: CPython', |
| 78 | + 'Programming Language :: Python :: Implementation :: PyPy', |
86 | 79 | 'Topic :: Software Development :: Libraries :: Python Modules', |
87 | 80 | ], |
88 | 81 | ) |
0 commit comments