--- a/src/setup.py Tue Dec 04 12:19:06 2012 +0100
+++ b/src/setup.py Tue Dec 04 12:53:56 2012 +0100
@@ -5,6 +5,7 @@
import sys
MODULE = 'hashcut'
+README_PATH = '../README.md'
class osx_install_data(install_data):
# On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../
@@ -84,7 +85,7 @@
with open("MANIFEST.in", "w") as m:
m.write("include CHANGES\n")
m.write("include LICENSE\n")
- m.write("include ../README.md\n")
+ m.write("include %s\n" % README_PATH)
m.write("include MANIFEST.in\n")
for entry in data_files:
file_list = entry[1]
@@ -105,7 +106,7 @@
url='http://www.iri.centrepompidou.fr/dev/hg/hashcut',
license='LICENSE',
description='Hashcut Django module',
- long_description=open('README').read(),
+ long_description=open(README_PATH).read(),
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',