File tree Expand file tree Collapse file tree 3 files changed +11
-19
lines changed Expand file tree Collapse file tree 3 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.11
4
+
5
+ - Removed python 2 support
6
+
3
7
## 0.10.6 (2018-11-07)
4
8
5
- - Fix tomlgen\_ rust generating invalid ` Cargo.toml ` files.
6
- - Fix tomlgen\_ rust setting wrong path in ` .cargo/config `
9
+ - Fix tomlgen\_ rust generating invalid ` Cargo.toml ` files.
10
+ - Fix tomlgen\_ rust setting wrong path in ` .cargo/config `
7
11
8
12
## 0.10.5 (2018-09-09)
9
13
Original file line number Diff line number Diff line change 2
2
3
3
from setuptools import setup
4
4
5
- version = "0.10.6 "
5
+ version = "0.11.0 "
6
6
7
7
setup (
8
8
name = "setuptools-rust" ,
22
22
"Topic :: Software Development :: Version Control" ,
23
23
"License :: OSI Approved :: MIT License" ,
24
24
"Intended Audience :: Developers" ,
25
- "Programming Language :: Python :: 2" ,
26
- "Programming Language :: Python :: 2.7" ,
27
25
"Programming Language :: Python :: 3" ,
28
26
"Programming Language :: Python :: 3.5" ,
29
27
"Programming Language :: Python :: 3.6" ,
Original file line number Diff line number Diff line change @@ -38,25 +38,15 @@ def cpython_feature(ext=True, binding=Binding.PyO3):
38
38
if binding in (Binding .NoBinding , Binding .Exec ):
39
39
return ()
40
40
elif binding is Binding .PyO3 :
41
- if ( 2 , 7 ) < version < ( 2 , 8 ):
41
+ if version > ( 3 , 5 ):
42
42
if ext :
43
- return ("pyo3/python2" , "pyo3/ extension-module" )
43
+ return ("pyo3/extension-module" )
44
44
else :
45
- return ("pyo3/python2" ,)
46
- elif version > (3 , 4 ):
47
- if ext :
48
- return ("pyo3/python3" , "pyo3/extension-module" )
49
- else :
50
- return ("pyo3/python3" ,)
45
+ return ()
51
46
else :
52
47
raise DistutilsPlatformError ("Unsupported python version: %s" % sys .version )
53
48
elif binding is Binding .RustCPython :
54
- if (2 , 7 ) < version < (2 , 8 ):
55
- if ext :
56
- return ("cpython/python27-sys" , "cpython/extension-module-2-7" )
57
- else :
58
- return ("cpython/python27-sys" ,)
59
- elif (3 , 3 ) < version :
49
+ if (3 , 3 ) < version :
60
50
if ext :
61
51
return ("cpython/python3-sys" , "cpython/extension-module" )
62
52
else :
You can’t perform that action at this time.
0 commit comments