Skip to content

Commit

Permalink
Remove 3.8 and update to build binary and sdist (#123)
Browse files Browse the repository at this point in the history
* Remove 3.8 and update to build binary and sdist

* Update classifies and use SPDX license id

* update author email to hello@
  • Loading branch information
emlowe authored Oct 23, 2024
1 parent b51cd3b commit 19d7fcd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
33 changes: 16 additions & 17 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down

0 comments on commit 19d7fcd

Please sign in to comment.