File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11include *.txt
2- recursive-include doc *.rst
2+ recursive-include doc *.rst
Original file line number Diff line number Diff line change 1- # -*- coding: utf-8 -*-
1+ #!/usr/bin/env python
2+ # coding: utf-8
23
34"""
45python-can requires the setuptools package to be installed.
1213 version = re .search (r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]' ,
1314 fd .read (), re .MULTILINE ).group (1 )
1415
16+ with open ('README.rst' , 'r' ) as f :
17+ long_description = f .read ()
1518
1619logging .basicConfig (level = logging .WARNING )
1720
2326 author = "Brian Thorne" ,
2427 author_email = "brian@thorne.link" ,
2528 description = "Controller Area Network interface module for Python" ,
26- long_description = open ( 'README.rst' ). read () ,
29+ long_description = long_description ,
2730 license = "LGPL v3" ,
2831 package_data = {
2932 "" : ["CONTRIBUTORS.txt" , "LICENSE.txt" ],
You can’t perform that action at this time.
0 commit comments