Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanthg3 committed Dec 29, 2021
1 parent b1565b1 commit f0111ce
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""setup"""
import os
import codecs
import pathlib
from setuptools import setup
from cleantext import __maintainer__, __version__

rootdir = os.path.abspath(os.path.dirname(__file__))
HERE = pathlib.Path(__file__).parent.resolve()

with codecs.open(os.path.join(rootdir, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
# Get the long description from the README file
long_description = (HERE / 'README.md').read_text(encoding='utf-8')
__version__ = '1.1.4'
__maintainer__ = 'Prasanth Gudiwada'

setup(
name='cleantext',
Expand All @@ -17,8 +17,9 @@
author_email='prasanth.gudiwada@gmail.com',
url='https://github.com/prasanthg3/cleantext',
license='MIT',
long_description="\n" + fh.read(),
long_description=long_description,
long_description_content_type='text/markdown',
packages=['cleantext'],
install_requires=['nltk'],
tests_require=['pytest']
)

0 comments on commit f0111ce

Please sign in to comment.