Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed May 15, 2024
1 parent 77ab30d commit cde6640
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,22 @@ release-major: check-release bumpversion-major release
check-deps:
$(eval allow_list='cloudpickle=|graphviz=|numpy=|pandas=|tqdm=|copulas=|ctgan=|deepecho=|rdt=|sdmetrics=|platformdirs=')
pip freeze | grep -v "SDV.git" | grep -E $(allow_list) | sort > $(OUTPUT_FILEPATH)

.PHONY: upgradepip
upgradepip:
python -m pip install --upgrade pip

.PHONY: upgradebuild
upgradebuild:
python -m pip install --upgrade build

.PHONY: upgradesetuptools
upgradesetuptools:
python -m pip install --upgrade setuptools

.PHONY: package
package: upgradepip upgradebuild upgradesetuptools
python -m build ; \
$(eval VERSION=$(shell python -c 'import setuptools; setuptools.setup()' --version))
tar -zxvf "dist/sdv-${VERSION}.tar.gz"
mv "sdv-${VERSION}" unpacked_sdist

0 comments on commit cde6640

Please sign in to comment.