-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let's try and put the README into the long description :)
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 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,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',), | ||
|