Skip to content

Commit

Permalink
Include README.md in package metadata (fix kerrickstaley#110) (kerric…
Browse files Browse the repository at this point in the history
  • Loading branch information
chambln authored Dec 16, 2022
1 parent 336b666 commit da9e5a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
from setuptools import setup
from pathlib import Path

version = {}
with open('genanki/version.py') as fp:
exec(fp.read(), version)

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(name='genanki',
version=version['__version__'],
description='Generate Anki decks programmatically',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/kerrickstaley/genanki',
author='Kerrick Staley',
author_email='[email protected]',
Expand Down

0 comments on commit da9e5a6

Please sign in to comment.