From fbf0fb5b78220d7a3cae07bbd35503ccae47aa77 Mon Sep 17 00:00:00 2001 From: Daniel Pastor Ramirez Date: Thu, 9 Feb 2023 09:49:50 -0700 Subject: [PATCH] changing the repo name --- .github/workflows/release.yaml | 48 ++++++++++++++++++++++------------ setup.py | 6 ++--- 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 040211b..4d297bb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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/* \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/setup.py b/setup.py index 61d359b..d47f9bf 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ """ -Ultra-Fast Contacts Calculation (UFCC) -======================================= +ProLint: Protein-Ligand Interaction Analysis +============================================ :Authors: Daniel P. Ramirez & Besian I. Sejdiu :Year: 2022 @@ -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,