Skip to content

Commit

Permalink
[fix] build: don't include test folder in the distributed package
Browse files Browse the repository at this point in the history
Closes: #34
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Oct 20, 2023
1 parent de82eea commit 2cd3218
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python 3.11.5
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def readFile(fname, m='rt', enc='utf-8', nl=None):
, author_email = PKG.emails[0]
, license = PKG.license
, keywords = PKG.keywords
, packages = find_packages(exclude=['docs', ])
, packages = ['linuxdoc']
, install_requires = PKG.install_requires
, entry_points = PKG.get_entry_points()
, classifiers = PKG.classifiers
Expand Down
4 changes: 1 addition & 3 deletions utils/makefile.python
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,7 @@ quiet_cmd_pytest = TEST $@
# .. _installing: https://packaging.python.org/tutorials/installing-packages/
#
quiet_cmd_pybuild = BUILD $@
cmd_pybuild = $(PY_ENV_BIN)/python setup.py \
sdist -d $(PYDIST) \
bdist_wheel --bdist-dir $(PYBUILD) -d $(PYDIST)
cmd_pybuild = $(PY_ENV_BIN)/python setup.py sdist -d $(PYDIST)

quiet_cmd_pyclean = CLEAN $@
# remove 'build' folder since bdist_wheel does not care the --bdist-dir
Expand Down

0 comments on commit 2cd3218

Please sign in to comment.