[F] Fix wheel not including data
This commit is contained in:
@@ -5,6 +5,7 @@ set -e
|
|||||||
|
|
||||||
# Remove old build
|
# Remove old build
|
||||||
rm -rf dist/*
|
rm -rf dist/*
|
||||||
|
rm -rf build/*
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
@@ -13,4 +14,4 @@ python setup.py sdist bdist_wheel
|
|||||||
twine check dist/*
|
twine check dist/*
|
||||||
|
|
||||||
# Upload
|
# Upload
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|||||||
@@ -15,7 +15,8 @@ setup(
|
|||||||
install_requires=['praat-parselmouth', 'numpy', 'scipy'],
|
install_requires=['praat-parselmouth', 'numpy', 'scipy'],
|
||||||
url="https://github.com/hykilpikonna/SpeechGenderAnalysis",
|
url="https://github.com/hykilpikonna/SpeechGenderAnalysis",
|
||||||
packages=['sgs'],
|
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=Path('README.md').read_text(),
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
python_requires='>=3.8',
|
python_requires='>=3.8',
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
import sgs.api
|
import sgs.api
|
||||||
import sgs.calculations
|
import sgs.calculations
|
||||||
|
|
||||||
__version__ = '1.0.6'
|
__version__ = '1.0.9'
|
||||||
|
|||||||
Reference in New Issue
Block a user