diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14cc082..f5ec75b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12' ] name: Python ${{ matrix.os }} ${{ matrix.python-version }} sample steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index fa5de1d..78a7474 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -31,25 +31,24 @@ jobs: - run: | git fetch origin +refs/tags/*:refs/tags/* - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.8 - - - name: Install pep517 - run: >- - python -m - pip install - pep517 - --user - - - name: Build a binary wheel and a source tarball - run: >- - python -m - pep517.build - --binary - --out-dir dist/ - . + python-version: '3.10' + + - name: Build a binary wheel and a source tarball + run: | + python -m venv venv + source venv/bin/activate + python -m pip install --upgrade pip + pip install build + python -m build --outdir dist . + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + path: ./dist - name: Publish distribution to PyPI if: startsWith(github.event.ref, 'refs/tags') diff --git a/setup.py b/setup.py index ea59954..bf0b00c 100755 --- a/setup.py +++ b/setup.py @@ -38,18 +38,20 @@ package_data={ "": ["py.typed"], }, - author_email="kiss@chia.net", + author_email="hello@chia.net", install_requires=dependencies, url="https://github.com/Chia-Network", - license="https://opensource.org/licenses/Apache-2.0", + license="Apache-2.0", description="CLVM compiler.", long_description=long_description, long_description_content_type="text/markdown", classifiers=[ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "Topic :: Security :: Cryptography", ],