Skip to content

Commit

Permalink
build system config
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Feb 7, 2024
1 parent bf3d216 commit c1432fb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,4 @@ cython_debug/

# eth-ape
tests/.build/
/.build/
12 changes: 12 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
include pyproject.toml
include LICENSE
include README.md
include requirements.txt
exclude dev-requirements.txt

recursive-exclude tests *
recursive-exclude scripts *
recursive-exclude examples *

recursive-exclude * __pycache__
global-exclude *.py[cod]
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.PHONY: clean-pyc clean-build

help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "dist - build wheels and source distribution"

clean: clean-build clean-pyc

clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info

clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +

dist: clean
# Build a source distribution and wheel
python -m build
ls -l dist

0 comments on commit c1432fb

Please sign in to comment.