forked from plotly/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined reference to __version__ in setup.py and remove '# noqa…
…: F821 pylint: disable=undefined-variable'. You can test this fix by changing the 'version' in version.py and then running from the command line: python3 setup.py --version
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ dist | |
*egg-info* | ||
npm-debug* | ||
/.tox | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import io | ||
from setuptools import setup, find_packages | ||
|
||
|
||
exec(open('dash/version.py').read()) # pylint: disable=exec-used | ||
main_ns = {} | ||
exec(open('dash/version.py').read(), main_ns) # pylint: disable=exec-used | ||
|
||
setup( | ||
name='dash', | ||
version=__version__, # noqa: F821 pylint: disable=undefined-variable | ||
version=main_ns['__version__'], | ||
author='chris p', | ||
author_email='[email protected]', | ||
packages=find_packages(exclude=['tests*']), | ||
|