Skip to content

Commit

Permalink
Update long_description
Browse files Browse the repository at this point in the history
Use README.rst if exists
  • Loading branch information
tankywoo committed Jun 22, 2014
1 parent 9588353 commit 46ff8a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
[aliases]
release = sdist bdist_egg register upload
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
from __future__ import with_statement
import os
from setuptools import setup, find_packages
import simiki

Expand All @@ -13,13 +14,21 @@
with open("requirements.txt") as f:
requires = [l for l in f.read().splitlines() if l]

readme = "README.md"
if os.path.exists("README.rst"):
readme = "README.rst"
with open(readme) as f:
long_description = f.read()


setup(
name="simiki",
version=simiki.__version__,
url="http://simiki.org/",
author="Tanky Woo",
author_email="me@tankywoo.com",
description="Simiki is a simple wiki framework, written in Python.",
long_description=long_description,
keywords="simiki, wiki, generator",
license="MIT License",
packages=find_packages(),
Expand Down

0 comments on commit 46ff8a3

Please sign in to comment.