-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
89 lines (84 loc) · 2.13 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
import sys
if not (2, 7, ) <= sys.version_info < (3, ):
print("bas requires Python 2.7 or later")
raise SystemExit(1)
from setuptools import find_packages
from distutils.core import setup
from apps.settings import __version__
setup(
name='bas',
version=__version__,
description='Bas : Bottle api skeleton',
long_description="\n\n".join(
(
open("README.md").read(),
open("CHANGES.md").read(),
open("LICENSE.md").read()
)
),
author='Maillet Hugues',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
url='https://github.com/logorn/bottle-api-skeleton/',
platforms=['Any'],
entry_points={
'console_scripts': [
'bas-server = apps.command.server:main'
],
},
packages=find_packages(
exclude=['tests', 'tests.*', 'example', 'example.*', 'docs', 'docs.*']
),
install_requires=[
'setuptools==5.4.2',
'bottle>=0.11.6',
'bottle-mongo',
'bottle-extras',
'argparse',
'pymongo',
'beaker',
'gevent',
'itsdangerous',
'Crypto',
'requests',
'simplejson',
'pycrypto',
'mongokit',
'inject >1.0, <1.1',
'argparse'
],
tests_require=['pytest', 'mock'],
extras_require={
'ci': [
'flake8',
'coverage',
'mock',
'pytest',
'nose',
'behave'
],
'contribute': [
'flake8',
'coverage',
'mock',
'pytest',
'sphinx',
'nose',
'behave',
'pytest-pep8',
'nose-exclude',
'sphinx_bootstrap_theme',
'fabric'
],
}
)