Skip to content

Commit 5561369

Browse files
Enhancements to workflows and building
1 parent 76ae625 commit 5561369

6 files changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/python-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ jobs:
9292
9393
- name: Test module
9494
run: |
95-
python -c "import batbot; batbot.example();"
95+
python -c "import batbot;"
9696
97-
- name: Test CLI
98-
run: |
99-
batbot example
97+
# - name: Test CLI
98+
# run: |
99+
# batbot example
100100

101101
upload_pypi:
102102
needs: [test_wheel]

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
output.*.jpg
33
*.log*
44

5+
build/
6+
dist/
57
*.egg-info/
68

79
.coverage*

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include pyproject.toml
2-
31
# Include the README and SECURITY documents
42
include *.rst
53

batbot/spectrogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ def calculate_harmonic_and_echo_flags(
12621262

12631263
@lp
12641264
def compute_wrapper(
1265-
wav_filepath, annotations=None, output_folder='.', bitdepth=16, debug=True, **kwargs
1265+
wav_filepath, annotations=None, output_folder='.', bitdepth=16, debug=False, **kwargs
12661266
):
12671267
"""
12681268
Compute the spectrograms for a given input WAV and saves them to disk.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
22
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ project_urls =
1616
[options]
1717
packages = find:
1818
platforms = any
19-
include_package_data = True
19+
include_package_data = true
2020
install_requires =
2121
click
2222
cryptography
@@ -40,12 +40,6 @@ python_requires = >=3.7
4040
console_scripts =
4141
batbot = batbot.batbot:cli
4242

43-
[bdist_wheel]
44-
universal = 1
45-
46-
[aliases]
47-
test=pytest
48-
4943
[tool:pytest]
5044
minversion = 5.4
5145
addopts = -v -p no:doctest --xdoctest --xdoctest-style=google --random-order --random-order-bucket=global --cov=./ --cov-report html -m "not separate" --durations-min=1.0 --color=yes --code-highlight=yes --show-capture=log -ra

0 commit comments

Comments
 (0)