Skip to content

Commit

Permalink
♻️ refactor setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bage79 committed Dec 1, 2021
1 parent 1aa39c3 commit 1c2c9fe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
from kobert import __version__


def install_requires():
with open('requirements.txt') as f:
lines = f.read().splitlines()
install_requires = [line for line in lines]
return install_requires

setup(name='kobert',
version=__version__,
url='https://github.com/SKTBrain/KoBERT',
Expand All @@ -13,4 +19,6 @@
long_description=open('README.md', encoding='utf-8').read(),
zip_safe=False,
include_package_data=True,
)
python_requires='>=3.8.5',
install_requires=install_requires(),
)

0 comments on commit 1c2c9fe

Please sign in to comment.