Skip to content

Commit

Permalink
updated setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
happydasch committed Apr 18, 2021
1 parent 28d5199 commit b13b1ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions btplotting/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.1.1'
16 changes: 7 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
#!/usr/bin/env python
# -*- coding: utf-8; py-indent-offset:4 -*-
import setuptools
from distutils.util import convert_path

with open("README.md", "r") as fh:
long_description = fh.read()

main_ns = {}
ver_path = convert_path('btplotting/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)

setuptools.setup(
name='btplotting',

version='0.1.0',

version=main_ns['__version__'],
description='Plotting package for Backtrader (Bokeh)',

python_requires='>=3.6',

author='happydasch',
author_email='[email protected]',

long_description=long_description,
long_description_content_type="text/markdown",

license='GPLv3+',
url="https://github.com/happydasch/btplotting",
project_urls={
Expand Down

0 comments on commit b13b1ea

Please sign in to comment.