Skip to content

Commit

Permalink
Fix board install
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorthcote authored Jan 20, 2023
1 parent 9d73852 commit 2ebb099
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
from setuptools import find_packages, setup

# global variables
board = os.environ['BOARD']
repo_board_folder = f'boards/{board}'
board_notebooks_dir = os.environ['PYNQ_JUPYTER_NOTEBOOKS']
if 'BOARD' in os.environ:
board = os.environ['BOARD']
repo_board_folder = f'boards/{board}'
board_notebooks_dir = os.environ['PYNQ_JUPYTER_NOTEBOOKS']
else:
board = None
package_name = 'strath_sdfec'

data_files = []
Expand Down

0 comments on commit 2ebb099

Please sign in to comment.