-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·49 lines (43 loc) · 1.23 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
#!/usr/bin/env python
#
# -*- mode: python; sh-basic-offset: 4; indent-tabs-mode: nil; coding: utf-8 -*-
# vim:set tabstop=4 softtabstop=4 expandtab shiftwidth=4 fileencoding=utf-8:
#
import sys
import os
from setuptools import setup
extra = {
'install_requires': [
'distribute',
'bottle>=0.9',
]
}
if sys.version_info >= (3,):
extra['use_2to3'] = True
extra['install_requires'].append('python3-memcached')
else:
extra['install_requires'].append('python-memcached')
setup(
name = 'bottle-memcache',
version = '0.2.1',
url = 'http://github.com/bottlepy/bottle-extras/',
description = 'Memcache integration for Bottle.',
author = 'Jorge Gallegos',
author_email = '[email protected]',
license = 'MIT',
platforms = 'any',
zip_safe = False,
py_modules = [
'bottle_memcache'
],
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
**extra
)