[F] Fix wheel not including data

This commit is contained in:
Hykilpikonna 2022-04-05 02:06:10 -04:00
parent 7481279c27
commit 0101de51b0
3 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@ set -e
# Remove old build
rm -rf dist/*
rm -rf build/*
# Build
python setup.py sdist bdist_wheel
@ -13,4 +14,4 @@ python setup.py sdist bdist_wheel
twine check dist/*
# Upload
twine upload dist/*
twine upload dist/*

View File

@ -15,7 +15,8 @@ setup(
install_requires=['praat-parselmouth', 'numpy', 'scipy'],
url="https://github.com/hykilpikonna/SpeechGenderAnalysis",
packages=['sgs'],
package_data={'': ['vox1_data.json']},
package_data={'sgs': ['sgs/data/*']},
include_package_data=True,
long_description=Path('README.md').read_text(),
long_description_content_type='text/markdown',
python_requires='>=3.8',

View File

@ -1,4 +1,4 @@
import sgs.api
import sgs.calculations
__version__ = '1.0.6'
__version__ = '1.0.9'