Mercurial > hg > cropresize
comparison setup.py @ 3:2be0070c6f95
path-independent way of getting the description
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 06 Mar 2010 13:11:46 -0500 |
parents | 0676435d1186 |
children | c89738f3f417 |
comparison
equal
deleted
inserted
replaced
2:0676435d1186 | 3:2be0070c6f95 |
---|---|
1 from setuptools import setup, find_packages | 1 from setuptools import setup, find_packages |
2 import sys, os | 2 import sys, os |
3 | 3 |
4 try: | 4 try: |
5 description = file('README.txt').read() | 5 filename = os.path.join(os.path.dirname(__file__), 'README.txt') |
6 description = file(filename).read() | |
6 except: | 7 except: |
7 description = '' | 8 description = '' |
8 | 9 |
9 version = '0.1.3' | 10 version = '0.1.3' |
10 | 11 |