-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (35 loc) · 1.02 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
import setuptools
import glob
import os.path as osp
import json as _json
from pathlib import Path as _Path
requirements = [
#'jedi>=0.10.0, <=0.10.2',
'jedi==0.10.2',
'toolz', 'pygments', 'qtconsole']
# If PySide2 was installed using conda, pip will not recognize it
# Therefore import it to see if it is installed.
try:
import PySide2
except ImportError:
requirements += ['PySide2']
_package_info = (
_json.loads(_Path(__file__).parent.joinpath('call_map', 'package_info.json').read_text()))
setuptools.setup(
name='call_map',
version=_package_info['version'],
description='A GUI for viewing call graphs in Python',
author='Andy Lee',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3.5',
],
install_requires=requirements,
entry_points={
'console_scripts': ['call_map=call_map.gui:main'],
},
package_data={
'': ['*.png']
},
packages=setuptools.find_packages(exclude=['contrib', 'docs', 'tests*', 'scratch'])
)