|
1 | | -import io |
| 1 | +from setuptools import find_packages, setup |
2 | 2 |
|
3 | | -from setuptools import setup, find_packages |
| 3 | +exec(open("src/unasync/_version.py", encoding="utf-8").read()) |
4 | 4 |
|
5 | | -exec(io.open("src/unasync/_version.py", encoding="utf-8").read()) |
6 | | - |
7 | | -LONG_DESC = io.open("README.rst", encoding="utf-8").read() |
| 5 | +LONG_DESC = open("README.rst", encoding="utf-8").read() |
8 | 6 |
|
9 | 7 | setup( |
10 | 8 | name="unasync", |
|
15 | 13 | long_description_content_type="text/x-rst", |
16 | 14 | author="Ratan Kulshreshtha", |
17 | 15 | |
18 | | - license="MIT -or- Apache License 2.0", |
| 16 | + license="MIT OR Apache-2.0", |
19 | 17 | include_package_data=True, |
20 | 18 | packages=find_packages("src"), |
21 | 19 | package_dir={"": "src"}, |
22 | 20 | install_requires=['tokenize_rt; python_version >= "3.8.0"'], |
23 | 21 | keywords=["async"], |
24 | | - python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", |
| 22 | + python_requires=">=3.7", |
25 | 23 | classifiers=[ |
26 | 24 | "License :: OSI Approved :: MIT License", |
27 | 25 | "License :: OSI Approved :: Apache Software License", |
28 | 26 | "Framework :: Trio", |
29 | 27 | "Operating System :: POSIX :: Linux", |
30 | 28 | "Operating System :: MacOS :: MacOS X", |
31 | 29 | "Operating System :: Microsoft :: Windows", |
32 | | - "Programming Language :: Python :: 2", |
33 | | - "Programming Language :: Python :: 2.7", |
34 | | - "Programming Language :: Python :: 3", |
35 | | - "Programming Language :: Python :: 3.5", |
36 | | - "Programming Language :: Python :: 3.6", |
37 | 30 | "Programming Language :: Python :: 3.7", |
38 | 31 | "Programming Language :: Python :: 3.8", |
| 32 | + "Programming Language :: Python :: 3.9", |
| 33 | + "Programming Language :: Python :: 3.10", |
39 | 34 | "Programming Language :: Python :: Implementation :: CPython", |
40 | 35 | "Programming Language :: Python :: Implementation :: PyPy", |
41 | 36 | ], |
|
0 commit comments