forked from iocast/bottle-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·44 lines (40 loc) · 1.44 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
#!/usr/bin/env python
import os
from distutils.core import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
long_description = ""
if os.path.exists('README.rst'):
with open('README.rst') as file:
long_description = file.read()
setup(
name = 'bottle-i18n',
version = '0.1.5',
description = 'I18N integration for Bottle.',
long_description = long_description,
author = 'iocast',
author_email = 'iocast@me.com',
url = 'http://github.com/iocast/bottle-i18n',
license = 'MIT',
platforms = 'any',
py_modules = [
'bottle_i18n'
],
requires = [
'bottle (>=0.11.6)'
],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
cmdclass = {'build_py': build_py}
)