-
Notifications
You must be signed in to change notification settings - Fork 72
/
setup.py
32 lines (28 loc) · 922 Bytes
/
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
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 = ["six"] # optional: ["blinker==1.2"]
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",
"Programming Language :: Python :: 3.4",
],
description="Performance metrics, based on Coda Hale's Yammer metrics",
license="Apache 2.0",
author="Omer Getrel",
author_email="[email protected]",
version=__version__,
packages=find_packages(),
data_files=[],
install_requires=install_requires,
scripts=[],
)