Skip to content

Commit

Permalink
Remove source distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
Koeng101 committed Aug 11, 2024
1 parent d3ef1e2 commit 2d5c684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
working-directory: ./py
run: |
pip install wheel packaging
python setup.py sdist
if [ "${{ runner.os }}" = "Linux" ] && [ "${{ matrix.arch }}" = "amd64" ]; then
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
elif [ "${{ runner.os }}" = "Linux" ] && [ "${{ matrix.arch }}" = "arm64" ]; then
Expand Down Expand Up @@ -148,8 +147,4 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
for file in dist/**/*; do
if [[ $file == *.whl ]] || [[ $file == *.tar.gz ]]; then
twine upload "$file"
fi
done
twine upload dist/**/*.whl
2 changes: 1 addition & 1 deletion py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_shared_lib_ext():

setup(
name='dnadesign',
version='0.1.2',
version='0.1.3',
packages=find_packages(),
package_data={'dnadesign': ['definitions.h', 'libdnadesign.h', "libdnadesign" + get_shared_lib_ext()]},
install_requires=[
Expand Down

0 comments on commit 2d5c684

Please sign in to comment.