|
1 |
| -# coding: utf-8 |
2 |
| -from __future__ import absolute_import, division, print_function |
3 |
| - |
4 |
| -from io import open |
5 |
| - |
6 | 1 | from setuptools import find_packages, setup
|
7 | 2 |
|
8 | 3 | version = dict()
|
9 | 4 |
|
10 |
| -# read _version.py as bytes, otherwise exec will complain about |
11 |
| -# 'coding: utf-8', which we want there for the normal Python 2 import |
12 |
| -with open('src/outcome/_version.py', 'rb') as fp: |
| 5 | +with open('src/outcome/_version.py') as fp: |
13 | 6 | version_mod = fp.read()
|
14 | 7 |
|
15 | 8 | exec(version_mod, version)
|
16 | 9 |
|
17 |
| -LONG_DESC = open('README.rst', encoding='utf-8').read() |
| 10 | +LONG_DESC = open('README.rst').read() |
18 | 11 |
|
19 | 12 | setup(
|
20 | 13 | name='outcome',
|
|
33 | 26 | packages=find_packages('src'),
|
34 | 27 | package_dir={'': 'src'},
|
35 | 28 | install_requires=['attrs>=19.2.0'],
|
36 |
| - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', |
| 29 | + python_requires='>=3.6', |
37 | 30 | keywords='result',
|
38 | 31 | classifiers=[
|
39 | 32 | 'Development Status :: 5 - Production/Stable',
|
|
44 | 37 | 'Operating System :: POSIX :: Linux',
|
45 | 38 | 'Operating System :: MacOS :: MacOS X',
|
46 | 39 | 'Operating System :: Microsoft :: Windows',
|
47 |
| - 'Programming Language :: Python :: 2.7', |
48 |
| - 'Programming Language :: Python :: 3.4', |
49 |
| - 'Programming Language :: Python :: 3.5', |
50 | 40 | 'Programming Language :: Python :: 3.6',
|
| 41 | + 'Programming Language :: Python :: 3.7', |
| 42 | + 'Programming Language :: Python :: 3.8', |
51 | 43 | 'Programming Language :: Python :: Implementation :: CPython',
|
52 | 44 | 'Programming Language :: Python :: Implementation :: PyPy',
|
53 | 45 | ],
|
|
0 commit comments