Skip to content

Commit

Permalink
Merge pull request #17 from NREL/develop
Browse files Browse the repository at this point in the history
Cleanup of dependencies in prep for conda-forge
  • Loading branch information
gbarter authored Apr 25, 2023
2 parents cc60605 + 1650ba7 commit 676c737
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
jobs:
build_and_upload_pypi:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]

# upload to PyPI on every tag starting with 'v'
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -26,20 +22,20 @@ jobs:
- name: checkout repository
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
id: cp
with:
python-version: ${{ matrix.python-version }}
python-version: "3.11"
update-environment: true

- name: Install pypa/build
run: |
python -m pip install build
'${{ steps.cp.outputs.python-path }}' -m pip install build
- name: Build a binary wheel and a source tarball
run: |
python -m build .
'${{ steps.cp.outputs.python-path }}' -m build .
- uses: pypa/[email protected]
with:
Expand Down
7 changes: 0 additions & 7 deletions pCrunch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,4 @@
__email__ = ["[email protected]", "[email protected]"]


from ._version import get_versions
from .analysis import LoadsAnalysis, PowerProduction, FatigueParams

__version__ = get_versions()["version"]
del get_versions

from . import _version
__version__ = _version.get_versions()['version']
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["setuptools", "versioneer[toml]"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "pCrunch"
version = "1.0.1"
version = "1.0.2"
description = "IO and Post Processing Interface for OpenFAST Results."
readme = "README.rst"
requires-python = ">=3.9"
Expand Down Expand Up @@ -42,7 +42,7 @@ classifiers = [ # Optional
"Programming Language :: Fortran",
]

dependencies = ["matplotlib", "numpy", "scipy", "pyyaml", "seaborn", "fatpack"]
dependencies = ["fatpack", "numpy", "pandas", "pyyaml", "scipy"]

# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
Expand Down

0 comments on commit 676c737

Please sign in to comment.