We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4f903 commit eea39c6Copy full SHA for eea39c6
setup.py
@@ -1,9 +1,11 @@
1
from setuptools import setup
2
3
-import io
4
-
5
main_ns = {}
6
-exec(open('dash_auth/version.py').read(), main_ns)
+with open('dash_auth/version.py', encoding='utf-8') as f:
+ exec(f.read(), main_ns)
+
7
+with open('README.md', encoding='utf-8') as f:
8
+ long_description = f.read()
9
10
setup(
11
name='dash_auth',
@@ -13,7 +15,7 @@
13
15
packages=['dash_auth'],
14
16
license='MIT',
17
description='Dash Authorization Package.',
- long_description=io.open('README.md', encoding='utf-8').read(),
18
+ long_description=long_description,
19
install_requires=[
20
'dash>=1.1.1'
21
],
0 commit comments