Skip to content

Commit

Permalink
setup.py tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Mar 10, 2023
1 parent 5e4f903 commit eea39c6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from setuptools import setup

import io

main_ns = {}
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)

with open('README.md', encoding='utf-8') as f:
long_description = f.read()

setup(
name='dash_auth',
Expand All @@ -13,7 +15,7 @@
packages=['dash_auth'],
license='MIT',
description='Dash Authorization Package.',
long_description=io.open('README.md', encoding='utf-8').read(),
long_description=long_description,
install_requires=[
'dash>=1.1.1'
],
Expand Down

0 comments on commit eea39c6

Please sign in to comment.