[F] Fix wheel not including data
This commit is contained in:
@@ -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/*
|
||||
|
||||
@@ -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',
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import sgs.api
|
||||
import sgs.calculations
|
||||
|
||||
__version__ = '1.0.6'
|
||||
__version__ = '1.0.9'
|
||||
|
||||
Reference in New Issue
Block a user