File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1+ __version__ = '0.1.1'
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
2- # -*- coding: utf-8; py-indent-offset:4 -*-
31import setuptools
2+ from distutils .util import convert_path
43
54with open ("README.md" , "r" ) as fh :
65 long_description = fh .read ()
76
7+ main_ns = {}
8+ ver_path = convert_path ('btplotting/version.py' )
9+ with open (ver_path ) as ver_file :
10+ exec (ver_file .read (), main_ns )
11+
812setuptools .setup (
913 name = 'btplotting' ,
10-
11- version = '0.1.0' ,
12-
14+ version = main_ns ['__version__' ],
1315 description = 'Plotting package for Backtrader (Bokeh)' ,
14-
1516 python_requires = '>=3.6' ,
16-
1717 author = 'happydasch' ,
181819-
2019 long_description = long_description ,
2120 long_description_content_type = "text/markdown" ,
22-
2321 license = 'GPLv3+' ,
2422 url = "https://github.com/happydasch/btplotting" ,
2523 project_urls = {
You can’t perform that action at this time.
0 commit comments