File tree 2 files changed +8
-9
lines changed
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 -*-
3
1
import setuptools
2
+ from distutils .util import convert_path
4
3
5
4
with open ("README.md" , "r" ) as fh :
6
5
long_description = fh .read ()
7
6
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
+
8
12
setuptools .setup (
9
13
name = 'btplotting' ,
10
-
11
- version = '0.1.0' ,
12
-
14
+ version = main_ns ['__version__' ],
13
15
description = 'Plotting package for Backtrader (Bokeh)' ,
14
-
15
16
python_requires = '>=3.6' ,
16
-
17
17
author = 'happydasch' ,
18
18
19
-
20
19
long_description = long_description ,
21
20
long_description_content_type = "text/markdown" ,
22
-
23
21
license = 'GPLv3+' ,
24
22
url = "https://github.com/happydasch/btplotting" ,
25
23
project_urls = {
You can’t perform that action at this time.
0 commit comments