Skip to content

Commit

Permalink
Add PyPI Description
Browse files Browse the repository at this point in the history
This patch adds the readme as the long description in the `setup.py` to show it
on PyPI.

Closes #207
  • Loading branch information
shaardie authored and lkiesow committed Jun 26, 2020
1 parent f505bc5 commit 989b2e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
from setuptools import setup, find_packages
import os

path = os.path.abspath(os.path.dirname(__file__))


def read(filename):
with open(os.path.join(path, filename), encoding='utf-8') as f:
return f.read()


setup(
name="pyca",
Expand All @@ -8,6 +17,8 @@
author_email='[email protected]',
license="LGPLv3",
url="https://github.com/opencast/pyCA",
long_description=read('readme.rst'),
long_description_content_type='text/x-rst',
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand Down

0 comments on commit 989b2e7

Please sign in to comment.