File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
3.3.0 2018/08/xx
6
6
- Linux: add an error handler for the XServer to prevent interpreter crash (fix #61)
7
+ - MSS: fix a ResourceWarning: unclosed file in setup.py
7
8
- tests: fix a ResourceWarning: unclosed file
8
9
- big code clean-up using black
9
10
Original file line number Diff line number Diff line change 39
39
"Programming Language :: Python :: 3.7" ,
40
40
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture" ,
41
41
]
42
+
43
+ with open ("README.rst" ) as f :
44
+ description = f .read ()
45
+
42
46
config = {
43
47
"name" : "mss" ,
44
48
"version" : __version__ ,
51
55
"An ultra fast cross-platform multiple screenshots module "
52
56
"in pure python using ctypes."
53
57
),
54
- "long_description" : open ( "README.rst" ). read () ,
58
+ "long_description" : description ,
55
59
"classifiers" : classifiers ,
56
60
"platforms" : ["Darwin" , "Linux" , "Windows" ],
57
61
"packages" : ["mss" ],
You can’t perform that action at this time.
0 commit comments