Skip to content

Commit

Permalink
changing the repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpastor97 committed Feb 9, 2023
1 parent 76f2b44 commit fbf0fb5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
48 changes: 31 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,38 @@ on:
types: [published]

jobs:
deploy:

build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Ultra-Fast Contacts Calculation (UFCC)
=======================================
ProLint: Protein-Ligand Interaction Analysis
============================================
:Authors: Daniel P. Ramirez & Besian I. Sejdiu
:Year: 2022
Expand All @@ -27,7 +27,7 @@

setup(
# Self-descriptive entries which should always be present
name='ufcc',
name='prolint2',
author='Daniel P. Ramirez & Besian I. Sejdiu',
author_email='daniel.ramirezecheme@ucalgary.ca',
description=short_description,
Expand Down

0 comments on commit fbf0fb5

Please sign in to comment.