2828use_plugin ('python.coverage' )
2929use_plugin ('python.distutils' )
3030
31- with open ('README.md' , mode = 'r' , encoding = 'utf-8' ) as readme_file :
32- readme_contents = readme_file .read ()
33-
3431name = 'github3api'
3532authors = [
3633 Author ('Emilio Reyes' , 'emilio.reyes@intel.com' )
3734]
3835summary = 'An advanced REST client for the GitHub API'
3936url = 'https://github.com/soda480/github3api'
40- version = '0.0.5 '
37+ version = '0.0.6 '
4138default_task = [
4239 'clean' ,
4340 'analyze' ,
4441 'cyclomatic_complexity' ,
4542 'package'
4643]
4744license = 'Apache License, Version 2.0'
48- description = readme_contents
49- long_description_content_type = 'text/markdown'
45+ description = summary
5046
5147@init
5248def set_properties (project ):
@@ -60,6 +56,9 @@ def set_properties(project):
6056 project .set_property ('flake8_ignore' , 'E501, W503, F401, E722, W605' )
6157 project .build_depends_on_requirements ('requirements-build.txt' )
6258 project .depends_on_requirements ('requirements.txt' )
59+ project .set_property ('distutils_readme_description' , True )
60+ project .set_property ('distutils_description_overwrite' , True )
61+ project .set_property ('distutils_upload_skip_existing' , True )
6362 project .set_property ('distutils_classifiers' , [
6463 'Development Status :: 4 - Beta' ,
6564 'Environment :: Console' ,
0 commit comments