Skip to content

Commit

Permalink
add long_description for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mundanevision20 authored and radomirbosak committed Sep 15, 2022
1 parent b742bde commit 7c4832c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# -*- coding: utf-8 -*-
import os
from pathlib import Path
from setuptools import setup


here = os.path.abspath(os.path.dirname(__file__))
this_directory = Path(__file__).parent

about = {}
with open(os.path.join(here, 'duden', '__version__.py'), 'r', encoding='utf-8') as f:
version_file = this_directory / "duden" / "__version__.py"
with open(version_file, 'r', encoding='utf-8') as f:
exec(f.read(), about)

long_description = (this_directory / "README.md").read_text()

setup(
author='Radomír Bosák',
author_email='radomir.bosak@gmail.com',
Expand All @@ -29,6 +31,8 @@
'Topic :: Education',
],
description='CLI-based german dictionary',
long_description=long_description,
long_description_content_type='text/markdown',
download_url='https://github.com/radomirbosak/duden/archive/' \
+ about['__version__'] + '.tar.gz',
entry_points={
Expand All @@ -44,7 +48,7 @@
"pyxdg",
"pyyaml"
],
keywords=['duden', 'duden.de', 'dictionary', 'cli', 'word'],
keywords=['duden', 'duden.de', 'dictionary', 'cli', 'word', 'german'],
license='MIT',
name='duden',
packages=['duden'],
Expand Down

0 comments on commit 7c4832c

Please sign in to comment.