Skip to content

Commit

Permalink
Merge pull request #127 from plotly/lint-setup-version
Browse files Browse the repository at this point in the history
more explicit versioning in setup.py
  • Loading branch information
alexcjohnson authored Feb 28, 2019
2 parents 91084ce + f030a8f commit 63e3bdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ simple*
*.csv
.idea/
.vscode
.mypy_cache/
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from setuptools import setup

exec (open('dash_renderer/version.py').read())
version = {}
exec(open('dash_renderer/version.py').read(), version) # pylint: disable=exec-used

setup(
name='dash_renderer',
version=__version__,
version=version['__version__'],
author='Chris Parmer',
author_email='chris@plot.ly',
packages=['dash_renderer'],
Expand Down

0 comments on commit 63e3bdf

Please sign in to comment.