Skip to content

Commit

Permalink
💾 Setup without setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Apr 22, 2021
1 parent b2b62cb commit e9ae135
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ WIN_CANVAS_SIZE ?= 32
WIN_SIZE ?= 24

clean:
@rm -rf src/*.egg-info build dist
@find -iname "*.pyc" -delete
@python3 -m pip uninstall -y clickgen

# Removing setup.py package files if installed
@if [ -f "files.txt" ]; then
@xargs rm -rf < files.txt
@rm -rf files.txt
@fi

setup: setup.py
@python3 setup.py install --user --record files.txt
setup:
@python3 -m pip install clickgen==1.1.9 --user

build: setup build.py
@$(foreach theme,$(THEMES), python3 build.py -p "$(bitmaps_dir)/GoogleDot-$(theme)" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE);)
Expand Down

0 comments on commit e9ae135

Please sign in to comment.