Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,25 @@ environment:
@echo 🔧 ENVIRONMENT SETUP
make install-gmp
python3 -m pip install -U pip
pip3 install 'poetry==1.1.13'
pip3 install 'poetry==1.8.3'
poetry config virtualenvs.in-project true
poetry install
poetry config installer.modern-installation false
printf "Cython<3\n" > /tmp/pip-constraints.txt
PIP_CONSTRAINT=/tmp/pip-constraints.txt poetry install
poetry run pip install 'setuptools<81'
@echo 🚨 Be sure to add poetry to PATH
make fetch-sample-data

install:
@echo 🔧 INSTALL
poetry install
poetry run pip install 'setuptools<81'

build:
@echo 🔨 BUILD
poetry build
poetry install
poetry run pip install 'setuptools<81'

openssl-fix:
export LDFLAGS=-L/usr/local/opt/openssl/lib
Expand All @@ -52,6 +57,7 @@ install-gmp-mac:
install-gmp-linux:
@echo 🐧 LINUX INSTALL
ifeq ($(PKG_MGR), apt-get)
sudo apt-get update
sudo apt-get install libgmp-dev
sudo apt-get install libmpfr-dev
sudo apt-get install libmpc-dev
Expand Down
Loading
Loading