File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 66 pass
77
88import distribute_setup
9+ import io
910import sys
1011import platform
1112distribute_setup .use_setuptools ()
1213from setuptools import setup , Extension , find_packages
1314
15+ open_as_utf8 = lambda x : io .open (x , encoding = 'utf-8' )
16+
1417kernel = platform .release ()
1518
1619if kernel >= '4.1.0' :
3538 author = 'Justin Cooper' ,
3639 author_email = '[email protected] ' ,
3740 description = 'A module to control BeagleBone IO channels' ,
38- long_description = open ('README.rst' ).read () + open ('CHANGELOG.rst' ).read (),
41+ long_description = open_as_utf8 ('README.rst' ).read () + open_as_utf8 ('CHANGELOG.rst' ).read (),
3942 license = 'MIT' ,
4043 keywords = 'Adafruit BeagleBone IO GPIO PWM ADC' ,
4144 url = 'https://github.com/adafruit/adafruit-beaglebone-io-python/' ,
You can’t perform that action at this time.
0 commit comments