2018-09-25 16:35:08 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
2018-10-16 19:08:19 +08:00
|
|
|
from setuptools import setup
|
2018-09-25 16:35:08 +08:00
|
|
|
|
|
|
|
|
requirements = [
|
|
|
|
|
"cffi>=1.11,<2.0",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
classifiers = [
|
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
|
# target user.
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
# target python version.
|
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# cython_files = [
|
|
|
|
|
# "src/ccat/ccat.pyx",
|
|
|
|
|
# ]
|
|
|
|
|
|
|
|
|
|
setup(
|
2018-10-16 19:08:19 +08:00
|
|
|
name='cat-sdk',
|
2019-02-25 15:04:06 +08:00
|
|
|
version='3.1.2',
|
2018-10-16 19:08:19 +08:00
|
|
|
author='Cat Team and Contributors',
|
|
|
|
|
author_email='cat@dianping.com',
|
2019-02-25 15:04:06 +08:00
|
|
|
url="https://github.com/dianping/cat/tree/master/lib/python",
|
2018-10-16 19:08:19 +08:00
|
|
|
license="Apache License 2.0",
|
2019-02-25 15:04:06 +08:00
|
|
|
description="Cat SDK for Python",
|
|
|
|
|
long_description=open("README.rst").read(),
|
2018-10-16 19:08:19 +08:00
|
|
|
packages=[
|
2018-11-13 20:09:16 +08:00
|
|
|
"cat",
|
2018-10-16 19:08:19 +08:00
|
|
|
],
|
2018-09-25 16:35:08 +08:00
|
|
|
install_requires=requirements,
|
|
|
|
|
classifiers=classifiers,
|
|
|
|
|
package_dir={'': 'src'},
|
|
|
|
|
package_data={
|
|
|
|
|
'cat':
|
|
|
|
|
[
|
2018-10-15 17:00:12 +08:00
|
|
|
"lib/linux-glibc/*.so",
|
|
|
|
|
"lib/linux-musl-libc/*.so",
|
2018-09-25 16:35:08 +08:00
|
|
|
"lib/darwin/*.dylib"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
)
|