comparison setup.py @ 20:1eb5e82605a5

* flush out README * other minor fixes
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 29 Feb 2012 16:38:39 -0800
parents 6b4b9a9b37c6
children 2bb87686bcca
comparison
equal deleted inserted replaced
19:c6e459be8534 20:1eb5e82605a5
2 setup packaging script for FileServer 2 setup packaging script for FileServer
3 """ 3 """
4 4
5 import os 5 import os
6 6
7 version = "0.1" 7 version = "0.2"
8 dependencies = ['webob'] 8 dependencies = ['webob']
9 9
10 # allow use of setuptools/distribute or distutils 10 # allow use of setuptools/distribute or distutils
11 kw = {} 11 kw = {}
12 try: 12 try:
13 from setuptools import setup 13 from setuptools import setup
14 kw['entry_points'] = """ 14 kw['entry_points'] = """
15 [console_scripts] 15 [console_scripts]
16 FileServer = FileServer.main:main 16 FileServer = FileServer.web:main
17 FileServer-template = FileServer.template:main
18 """ 17 """
19 kw['install_requires'] = dependencies 18 kw['install_requires'] = dependencies
20 except ImportError: 19 except ImportError:
21 from distutils.core import setup 20 from distutils.core import setup
22 kw['requires'] = dependencies 21 kw['requires'] = dependencies