Skip to content

Commit

Permalink
Add autopush, bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dewar committed Oct 8, 2020
1 parent 5d44fd7 commit 92c764c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pub Python dist to TestPyPi

on: push

jobs:
build-n-publish:
name: Build/pub python to testpypi
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Setup Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Build ChipWhisperer
run: >-
python setup.py sdist
- name: Publish to pypi
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.py_pi_deploy }}
24 changes: 24 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env python

from setuptools import setup, find_packages

setup(
name='ballisticgel',
version='0.1.1',
description="CW521 Ballistic Gel Communication Library",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author="Colin O'Flynn",
author_email='coflynn@newae.com',
license='GPLv2+',
url='https://github.com/newaetech/ChipSHOUTER-ballisticgel',
packages=find_packages("ballisticgel"),
install_requires=[
'chipwhisperer',
],
project_urls={
'Source': 'https://github.com/newaetech/ChipSHOUTER-ballisticgel',
'Issue Tracker': 'https://github.com/newaetech/ChipSHOUTER-ballisticgel/issues'
},
python_requires='~=3.6',
)

0 comments on commit 92c764c

Please sign in to comment.