Skip to content

Commit

Permalink
Merge pull request #6 from salmanxmoh/modernize-makefile-to-use-build…
Browse files Browse the repository at this point in the history
…-module

Modernize Makefile to use python `build` module and also add `init` target
  • Loading branch information
seyed-dev authored Oct 28, 2023
2 parents 0a5afd5 + 9f278e6 commit 19dddcc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Makefile for aggify

# Environment variables
PYTHON = python

.PHONY: init build clean

init:
$(PYTHON) -m pip install build twine

build:
python setup.py sdist
$(PYTHON) -m build

clean:
rm -rf dist/

# Publish to PyPI using twine
publish:
Expand Down

0 comments on commit 19dddcc

Please sign in to comment.