diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index e682dd6..6b83a2f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -80,6 +80,6 @@ jobs: EOF cp ../README.md . aws s3 mv s3://${{ secrets.AWS_S3_BUCKET }}/hyperbuild/bin/python/${{ steps.version.outputs.VERSION }}/ ./hyperbuild/. --recursive - pip3 install --upgrade setuptools wheel twine - python3 setup.py sdist bdist_wheel - python3 -m twine upload dist/* + pip install --upgrade setuptools wheel twine + python setup.py sdist bdist_wheel + python -m twine upload dist/* diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a0e0bb2..c726274 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -29,13 +29,16 @@ jobs: EOF - name: Set up rbenv (macOS) if: runner.os == 'macOS' + shell: bash -l {0} run: brew install rbenv - name: Set up rbenv (Linux) if: runner.os == 'Linux' + shell: bash -l {0} run: | wget -O install-rbenv.sh https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer bash install-rbenv.sh || true # Ignore rbenv-doctor. - name: Set up Ruby + shell: bash -l {0} run: | rbenv install ${{ matrix.ruby }} rbenv global ${{ matrix.ruby }} @@ -46,6 +49,7 @@ jobs: profile: minimal default: true - name: Build Ruby native library + shell: bash -l {0} run: cargo build --release working-directory: ./ruby - uses: chrislennon/action-aws-cli@v1.1 diff --git a/python/setup.py b/python/setup.py index 1f7195a..8c74485 100644 --- a/python/setup.py +++ b/python/setup.py @@ -13,6 +13,7 @@ setuptools.setup( long_description_content_type="text/markdown", url="https://github.com/wilsonzlin/hyperbuild", packages=["hyperbuild"], + include_package_data=True, classifiers=[ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython",