File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed
Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change 1- import sys
2-
31from setuptools import setup , find_packages
42from os import path
53from aws_xray_sdk .version import VERSION
64
75CURRENT_DIR = path .abspath (path .dirname (__file__ ))
86
9- try :
10- from pypandoc import convert
11- read_md = lambda f : convert (f , 'rst' )
12- except ImportError :
13- read_md = lambda f : open (f , 'r' ).read ()
14-
15- long_description = read_md (path .join (CURRENT_DIR , 'README.md' ))
16-
17- INSTALL_REQUIRED_DEPS = [
18- 'enum34;python_version<"3.4"' ,
19- 'wrapt' ,
20- 'botocore>=1.11.3' ,
21- ]
22-
23- if sys .version_info [0 ] == 2 :
24- INSTALL_REQUIRED_DEPS .append ("future" )
7+ with open (path .join (CURRENT_DIR , 'README.md' ), 'r' ) as f :
8+ long_description = f .read ()
259
2610setup (
2711 name = 'aws-xray-sdk' ,
5539 'Programming Language :: Python :: 3.9' ,
5640 ],
5741
58- install_requires = INSTALL_REQUIRED_DEPS ,
42+ install_requires = [
43+ 'enum34;python_version<"3.4"' ,
44+ 'wrapt' ,
45+ 'future;python_version<"3"' ,
46+ 'botocore>=1.11.3' ,
47+ ],
5948
6049 keywords = 'aws xray sdk' ,
6150
You can’t perform that action at this time.
0 commit comments