Skip to content

Commit

Permalink
cd : start of continuous deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartboogert committed Jan 9, 2024
1 parent cb6b38c commit 1cef42d
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 26 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: distribute

on:
workflow_dispatch:
release:
types:
- published


make_sdist:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build SDist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

make_wheel:
name: Wheel on linux
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pypa/[email protected]

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl
23 changes: 22 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "src/pyWitness/_version.py"

[project]
name = "pyWitness"
description="Python utilities for eyewitness research"
authors = [{ name = "Laura Mickes", email = "[email protected]"}]
dynamic = ["version"]
dependencies = ["ipython",
"matplotlib",
"numpy",
"scipy",
"pandas",
"openpyxl",
"xlrd",
"pyreadstat"]

#[tool.setuptools_scm]
#version_file = "pyWitness/_version.py"

25 changes: 0 additions & 25 deletions setup.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1cef42d

Please sign in to comment.