Skip to content

Commit f50756e

Browse files
committed
2 parents 98d53b8 + 3049b48 commit f50756e

File tree

6 files changed

+38
-7
lines changed

6 files changed

+38
-7
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflows will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Upload Python Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
deploy:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: '3.x'
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install setuptools wheel twine
25+
- name: Build and publish
26+
env:
27+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29+
run: |
30+
python setup.py sdist bdist_wheel
31+
twine upload dist/*

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ py-ard
33
===============================
44

55

6-
.. image:: https://img.shields.io/pypi/v/pyard.svg
7-
:target: https://pypi.python.org/pypi/pyard
6+
.. image:: https://img.shields.io/pypi/v/py-ard.svg
7+
:target: https://pypi.python.org/pypi/py-ard
88

99
.. image:: https://readthedocs.org/projects/pyars/badge/?version=latest
1010
:target: https://pyars.readthedocs.io/en/latest/?badge=latest

pyard/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@
2424
from __future__ import absolute_import
2525
from .pyard import ARD
2626

27-
__author__ = """Michael Halagan"""
28-
__email__ = '[email protected]'
29-
__version__ = '0.0.10'
27+
__author__ = """NMDP Bioinformatics"""
28+
__version__ = '0.0.13'

pyard/pyard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def __init__(self, dbversion: str='Latest',
125125
mac_file = data_dir + "/mac.txt"
126126
mac_pickle = data_dir + "/mac.pickle"
127127
broad_file = data_dir + "/dna_relshp.csv"
128+
#print("mac_file:", mac_file)
128129

129130
allele_url = "https://raw.githubusercontent.com/ANHIG/IMGTHLA/" \
130131
+ dbversion + "/Allelelist.txt"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.0.10
2+
current_version = 0.0.13
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
setup(
4444
name='py-ard',
45-
version='0.0.12',
45+
version='0.0.16',
4646
description="ARD reduction for HLA with python",
4747
long_description=readme + '\n\n' + history,
4848
author="CIBMTR",

0 commit comments

Comments
 (0)