Skip to content

Commit

Permalink
Release version 0.2.1 and fix PyPI upload (#25)
Browse files Browse the repository at this point in the history
* Update publish.yml

* Update .gitignore

* Make pandas required

* Update whatsnew.md

* Update version in setup.cfg

* Update whatsnew.md

* Update whatsnew.md
  • Loading branch information
AdamRJensen authored Mar 11, 2022
1 parent 251a4fd commit 81955e9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
- name: Install build tools
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade setuptools wheel build
- name: Build packages
run: python setup.py sdist bdist_wheel
run: python -m build --sdist --wheel

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
__pycache__/

# Distribution / packaging
*/build/
build/
dist/
*.egg-info/

# generated documentation
Expand Down
8 changes: 8 additions & 0 deletions docs/source/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2022-03-11
Add pandas as a required dependency and fix the workflow file responsible for
uploading the package to PyPI.

### Requirements
- Added pandas to the list of required dependencies


## [0.2.0] - 2022-03-11
The code in the second release is a complete restructure in order for the code to be
made into a package and available on PyPI.
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = twoaxistracking
version = 0.2.0
version = 0.2.1
author = 'Adam R. Jensen, Kevin Anderson'
author_email = adam-r-j@hotmail.com
description = twoaxistracking is a python package for simulating two-axis tracking solar collectors, particularly self-shading.
Expand All @@ -24,12 +24,12 @@ install_requires =
numpy
matplotlib
shapely
pandas

[options.extras_require]
test =
pytest
pytest-cov
pandas
doc =
sphinx==4.4.0
myst-nb==0.13.2
Expand Down

0 comments on commit 81955e9

Please sign in to comment.