forked from eplaut/python-butler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 1.04 KB
/
setup.py
File metadata and controls
36 lines (31 loc) · 1.04 KB
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
from setuptools import setup, find_packages
import functools
import os
import sys
_PYTHON_VERSION = sys.version_info
_IS_PYPY = hasattr(sys, 'pypy_version_info')
_in_same_dir = functools.partial(os.path.join, os.path.dirname(__file__))
with open(_in_same_dir("butler", "__version__.py")) as version_file:
exec(version_file.read()) # pylint: disable=W0122
install_requires = [
"Flask==0.11.1",
"requests==2.10.0",
"Logbook==1.0.0",
"flasgger==0.5.13"
]
setup(name="http_butler",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
description="Light flask server",
license="BSD",
author="Eli Plaut",
author_email="eplaut@gmail.com",
url="https://github.com/eplaut/python-butler",
version=__version__, # pylint: disable=E0602
packages=find_packages(exclude=["tests"]),
install_requires=install_requires,
)