forked from omergertel/pyformance
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 924 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 924 Bytes
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
import os
import functools
import platform
from setuptools import setup, find_packages
_IN_PACKAGE_DIR = functools.partial(os.path.join, "pyformance")
with open(_IN_PACKAGE_DIR("__version__.py")) as version_file:
exec(version_file.read())
install_requires = ["blinker==1.2","six>=1.1.0"]
if platform.python_version() < '2.7':
install_requires.append('unittest2')
setup(name="pyformance",
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2.7",
],
description="Performance metrics, based on Coda Hale's Yammer metrics",
license="Proprietary",
author="Omer Getrel",
author_email="omer.gertel@gmail.com",
version=__version__,
packages=find_packages(exclude=["tests"]),
data_files = [],
install_requires=install_requires,
scripts=[],
)