File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1515 __URL__ = "https://github.com/ShujiaHuang/qmplot" ,
1616 __LICENSE__ = "BSD (3-clause)" ,
1717 __DOWNLOAD_URL__ = "https://github.com/ShujiaHuang/qmplot" ,
18- __VERSION__ = "0.3.0 " ,
18+ __VERSION__ = "0.3.1 " ,
1919)
2020
2121try :
3232 "matplotlib" ,
3333]
3434
35- ROOT_DIR = os .path .split (os .path .realpath (__file__ ))[0 ]
3635
3736if __name__ == "__main__" :
37+
38+ THIS_PATH = os .path .abspath (os .path .dirname (__file__ ))
39+ long_description = os .path .join (THIS_PATH , "README.md" )
40+
3841 setup (name = meta .__DISTNAME__ ,
3942 author = meta .__AUTHOR__ ,
4043 author_email = meta .__AUTHOR_EMAIL__ ,
4144 maintainer = meta .__AUTHOR__ ,
4245 maintainer_email = meta .__AUTHOR_EMAIL__ ,
4346 description = DESCRIPTION ,
44- long_description = (open (ROOT_DIR + "/README.rst" ).read ()),
47+ long_description_content_type = "text/markdown" ,
48+ long_description = (open (long_description ).read ()),
4549 license = meta .__LICENSE__ ,
4650 url = meta .__URL__ ,
4751 download_url = meta .__DOWNLOAD_URL__ ,
You can’t perform that action at this time.
0 commit comments