Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #60

Merged
merged 16 commits into from
Aug 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
name: CI-CD

on: push
on:
push:
inputs:
allowDeploy:
description: "Whether to deploy."
required: true
default: true
type: boolean
pull_request:
types: [opened, edited, synchronize, reopened]
inputs:
allowDeploy:
description: "Whether to deploy."
required: true
default: false
type: boolean
workflow_dispatch:
inputs:
allowDeploy:
description: "Whether to deploy."
required: true
default: false
type: boolean

jobs:
matrix_prep:
Expand Down Expand Up @@ -125,7 +147,7 @@ jobs:
path: dist/*.tar.gz

deploy:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && inputs.allowDeploy == true
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
Expand Down
Binary file modified archives/prospr_core.tar.gz
Binary file not shown.
Binary file modified archives/prospr_core.zip
Binary file not shown.
Binary file modified archives/prospr_data.tar.gz
Binary file not shown.
Binary file modified archives/prospr_data.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion prospr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from pathlib import Path

from prospr_core import (
AminoAcid,
Protein,
Expand All @@ -9,7 +11,7 @@
from .visualize import plot_protein

# Import __version__ from _version.py during compile time.
exec(open("prospr/_version.py").read())
exec(open(Path(__file__).parent.absolute() / "_version.py").read())

__all__ = [
"__version__",
Expand Down
2 changes: 1 addition & 1 deletion prospr/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0"
__version__ = "1.1"
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,18 @@ keywords = [
]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Topic :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"matplotlib==3.7.2",
"pandas==2.0.3",
"seaborn==0.12.2",
]

[project.urls]
homepage = "https://github.com/okkevaneck/prospr"
Expand Down
Loading