forked from vmprof/vmprof-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (50 loc) · 1.68 KB
/
setup.py
File metadata and controls
53 lines (50 loc) · 1.68 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import setup, find_packages, Extension
import os, sys
if '__pypy__' in sys.builtin_module_names:
ext_modules = [] # built-in
else:
if sys.platform != 'win32':
extra_compile_args = ['-Wno-unused']
else:
extra_compile_args = []
ext_modules = [Extension('_vmprof',
sources=[
'src/_vmprof.c',
],
depends=[
'src/vmprof_main.h',
'src/vmprof_main_32.h',
'src/vmprof_mt.h',
'src/vmprof_common.h',
],
extra_compile_args=extra_compile_args,
libraries=[])]
setup(
name='vmprof',
author='vmprof team',
author_email='fijal@baroquesoftware.com',
version="0.2.3.1",
packages=find_packages(),
description="Python's vmprof client",
long_description='See https://vmprof.readthedocs.org/',
url='https://github.com/vmprof/vmprof-python',
install_requires=[
'six',
'click'
],
entry_points = {
'console_scripts': [
'vmprofshow = vmprof.show:main'
]},
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
zip_safe=False,
include_package_data=True,
ext_modules=ext_modules,
)