Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vimior authored Jul 9, 2024
1 parent bb718ca commit 536a9c7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ def find_packages(base_path='.'):
# long_description = open('README.rst').read()
long_description = 'long description for xArm-Python-SDK'

with open(os.path.join(os.getcwd(), 'requirements.txt')) as f:
requirements = f.read().splitlines()
try:
with open(os.path.join(os.getcwd(), 'requirements.txt')) as f:
requirements = f.read().splitlines()
except:
requirements = []

setup(
name='xArm-Python-SDK',
Expand Down

0 comments on commit 536a9c7

Please sign in to comment.