-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
54 lines (42 loc) · 1.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python # -- coding: utf-8 --
__version__ = '1.3'
import os
import sys
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# information
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
ROLES = """\
.. role:: mod(emphasis)
.. role:: term(emphasis)
"""
long_description = "\n\n".join((
ROLES, README, CHANGES))
long_description = long_description.replace('.. code-block:: python', '::')
version = sys.version_info[:3]
install_requires = ['WebOb >= 1.2']
setup(
name="Otto",
version=__version__,
description="WSGI-compliant HTTP publisher.",
long_description=long_description,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
],
keywords="wsgi publisher router",
author="Malthe Borch",
author_email="mborch@gmail.com",
url="http://www.ottohttp.org",
install_requires=install_requires,
license='BSD',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="otto.tests",
tests_require = install_requires + ['manuel'],
)