-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds the readme as the long description in the `setup.py` to show it on PyPI. Closes #207
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|
@@ -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=[ | ||
|