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
-
3
1
from setuptools import setup , find_packages
4
2
from os import path
5
3
from aws_xray_sdk .version import VERSION
6
4
7
5
CURRENT_DIR = path .abspath (path .dirname (__file__ ))
8
6
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 ()
25
9
26
10
setup (
27
11
name = 'aws-xray-sdk' ,
55
39
'Programming Language :: Python :: 3.9' ,
56
40
],
57
41
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
+ ],
59
48
60
49
keywords = 'aws xray sdk' ,
61
50
You can’t perform that action at this time.
0 commit comments