Skip to content

Commit f8ed771

Browse files
authored
Merge pull request #282 from fooof-tools/install
[MNT] - Update build procedure
2 parents 643d61e + bb1dd23 commit f8ed771

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include LICENSE
1+
include LICENSE requirements.txt

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
# coverage For running test coverage
1111
# pylint For running linting on code
1212
# setuptools For creating distributions
13-
# twine For checking and publishing distributions
13+
# build For creating distributions
14+
# twine For checking and publishing distributions
1415
#
1516
# The following command line utilities are required:
1617
# cloc For counting lines of code
@@ -98,13 +99,13 @@ summary:
9899
# Create a distribution build of the module
99100
dist:
100101
@printf "\n\nCREATING DISTRIBUTION BUILD...\n"
101-
@python setup.py sdist bdist_wheel
102+
@python -m build
102103
@printf "\n\nDISTRIBUTION BUILD CREATED\n\n\n"
103104

104105
# Check a distribution build using twine
105106
check-dist:
106107
@printf "\n\nCHECKING DISTRIBUTION BUILD:\n"
107-
twine check dist/*
108+
@twine check dist/*
108109
@printf "\n"
109110

110111
# Clear out distribution files

0 commit comments

Comments
 (0)