Skip to content

Commit 536a9c7

Browse files
authored
Update setup.py
1 parent bb718ca commit 536a9c7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ def find_packages(base_path='.'):
3939
# long_description = open('README.rst').read()
4040
long_description = 'long description for xArm-Python-SDK'
4141

42-
with open(os.path.join(os.getcwd(), 'requirements.txt')) as f:
43-
requirements = f.read().splitlines()
42+
try:
43+
with open(os.path.join(os.getcwd(), 'requirements.txt')) as f:
44+
requirements = f.read().splitlines()
45+
except:
46+
requirements = []
4447

4548
setup(
4649
name='xArm-Python-SDK',

0 commit comments

Comments
 (0)