Skip to content

Commit

Permalink
Release engineering for 0.5.0
Browse files Browse the repository at this point in the history
Let's try and put the README into the long description :)
  • Loading branch information
samv committed Jul 23, 2014
1 parent 19d60fc commit 9631994
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
from setuptools import find_packages, setup


try:
with open("README.rst", "ro") as readme:
lines = []
for line in readme:
lines.append(line)
if "...and much more" in line:
break
long_description = "".join(lines)
except:
long_description = """
This module lets you declare classes and object properties, and then
get support for marshaling to and from JSON data. You can also compare
objects to see if they have changed in meaningful ways.
"""


setup(
author='Hearsay Labs, Inc',
author_email='[email protected]',
description="Declarative Python meta-model system and visitor utilities",
license='MIT',
long_description="""
This module lets you declare classes and object properties, and then
get support for marshaling to and from JSON data. You can also compare
objects to see if they have changed in meaningful ways.
""",
long_description=long_description,
name='normalize',
packages=find_packages(),
install_requires=('richenum>=1.0.0',),
Expand Down

0 comments on commit 9631994

Please sign in to comment.