Mercurial > hg > carton
comparison setup.py @ 16:c91abbdc871b
* add TODO: dependencies
* take docstring from the module itself
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 15:55:00 -0700 |
parents | dba783d48eae |
children | dabf5e1bdf92 |
comparison
equal
deleted
inserted
replaced
15:f05e636b7444 | 16:c91abbdc871b |
---|---|
1 import os | |
2 from setuptools import setup | 1 from setuptools import setup |
3 | 2 |
4 try: | 3 try: |
5 here = os.path.dirname(os.path.abspath(__file__)) | 4 import carton |
6 description = file(os.path.join(here, 'README.txt')).read() | 5 description = carton.__doc__ |
7 except IOError: | 6 except ImportError: |
8 description = None | 7 description = None |
9 | 8 |
10 version = '0.1' | 9 version = '0.1' |
11 | 10 |
12 setup(name='carton', | 11 setup(name='carton', |