Skip to content

Commit

Permalink
Fix deploy, add formatted AUTHORS and ChangeLog files (#51)
Browse files Browse the repository at this point in the history
Fixes #43 #44
* Fix deploy action
* Add formatted AUTHORS and ChangeLog files
* Complete changelog
  • Loading branch information
IAlibay authored Jul 15, 2022
1 parent e278a84 commit ccfdc89
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 18 deletions.
25 changes: 7 additions & 18 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: Build and upload to PyPI

on:
pull_request:
branches:
- "package-*"
push:
branches:
- "package-*"
- "master"
tags:
- "package-*"
- "*"
release:
types:
- published
Expand Down Expand Up @@ -44,23 +41,15 @@ jobs:
add-pip-as-python-dependency: true
architecture: x64

- name: install_deps
- name: install_and_build_pyedr
run: |
cd pyedr && python -m pip install build
cd panedr && python -m pip install build
python -m build --sdist --wheel --outdir ../dist/
- name: build
- name: install_and_build_panedr
run: |
cd pyedr && python -m build --sdist --wheel --outdir ../dist/
cd panedr && python -m build --sdist --wheel --outdir ../dist
- name: publish_testpypi
# Upload to testpypi on every tag
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
cd panedr && python -m pip install build
python -m build --sdist --wheel --outdir ../dist/
- name: publish_pypi
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down
20 changes: 20 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
==================
Pyedr and Panedr
==================

Copyright (c) 2016-2022 Jonathan Barnoud and Contributors

Published under the GNU Lesser General Public Licence, version 2.1


Contributors:

* Jonathan Barnoud
* Manuel Nuno Melo
* Max Linke
* Len Kimms
* Bjarne Feddersen
* Oliver Beckstein
* Hugo MacDermott-Opeskin
* Irfan Alibay

162 changes: 162 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
==============================
Pyedr and Panedr CHANGELOG
==============================

The rules for this file:
* release numbering uses semantic versioning 2.0 https://semver.org/
* entries are sorted newest-first.
* summarize sets of changes - don't reproduce every git log comment here.
* don't ever delete anything.
* keep the format consistent (79 char width, M/D/Y date format) and do not
use tabs but use spaces for formatting
* accompany each entry with github issue/PR number (Issue #xyz)
* Note: rules were not applied before v0.6.0

------------------------------------------------------------------------------

15/06/2022 jbarnoud, BFedder, orbeckst, hmacdope, IAlibay

* 0.6.0

Changes

* Add package deployment via github actions (PR #51 and #50)
* Re-reformat packages into pyedr and panedr (PR #50)
* Reformat panedr into two packages: panedr and panedrlite (PR #42)
* Add GitHub actions workflow for CI (PR #32)
* fixed setup.cfg for installing from source (PR #28)

Fixes

* Fix coverage issues and add coveragerc (PR #47)

13/01/2019 jbarnoud

* 0.5.2

Changes

* Fix typo in \_\_version\_\_
* Fix typo in \_\_version\_\_


11/01/2019 jbarnoud

* 0.5.1

Changes

* Ignore python3 bytecode in the repo
* Hopefully allow deploy on tags


11/01/2019 jbarnoud, ezavod

* 0.5.0

Changes

* Add correct handling of blocks and subblocks
* Fix pypi password for deployment
* Deploy on the real pypi
* Only deploy master
* Fix typo in trove classifiers
* User correctly encrypted password for deploy
* Skip file generation by pbr
* Allow deployment on the pbr branch
* Try automatic deploy
* Restore the extra test requirements
* Move versioning to pbr
* fix: Initiate an empty frame for each new frame
* fix: Add correct handling of blocks and subblocks
* Bump version to 0.4.0
* Tell travis to use ubuntu xenial
* Add python 3.7 to travis
* Fix compatibility issues with python 3.7


20/12/2018 jbarnoud

* 0.4.0

Changes

* Fix a typo in the install, bump to 0.3.1


20/09/2018 jbarnoud, mnmelo, kain88-de

* 0.3

Changes

* Bumb version number to 0.3
* Tell travis about the move of the tests
* Move the tests out of the package
* Travis install pathlib backport on python 2.7
* Accept \`pathlib.Path\` as an argument for edr\_to\_df
* Bump minimum python3 version to 3.5
* Remove pandas \`as\_matrix() deprecated method
* Update README to refect the use of pytest
* update python version in ci
* add manifest
* Test cleanup
* Try using py.test instead of pytest
* Moved to pytest testing
* Added double-precision support
* Remove the now unused Enxnms named tuple
* Move to a more object oriented architecture
* Fix a typo in the README


15/01/2016 jbarnoud

* 0.2

Changes

* Move to version 0.2
* Ignore gromacs backup files
* Do not write an incomplete frame
* Add test for the progress display in verbose mode
* Replace the test file for regular dt
* Add a verbose mode


13/01/2016 jbarnoud

* 0.1.1

Changes

* Move to v0.1.1 and add \_\_version\_\_
* Update README to account for inclusion in PyPi
* Make the wheels universal


13/01/2016 jbarnoud

* 0.1

Changes

* Prepare repo for inclusion in PyPi
* Python 3.2 is not supported
* Fix errors in .travis.yml
* Add TravisCI badge in the README
* Set up TravisCI
* Add tests
* Add a gitignore file
* Fix typo in docstring
* Adapt example to reflect unicode column names
* Revert license change of format in the README
* Update the README
* Fix unicode issues
* Panedr is now a proper package with setup.py
* Add a module docstring
* Remove the initial notebook
* Add the licence on top of the library
* Add a README and a license
* Translate prototype to a library
* Initial commit
1 change: 1 addition & 0 deletions panedr/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include ../README.rst ../LICENSE.txt
include ../ChangeLog ../AUTHORS
include setup.py setup.cfg
4 changes: 4 additions & 0 deletions panedr/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ install_requires =
[options.extras_require]
test =
pytest

[pbr]
skip_authors = True
skip_changelog = True
1 change: 1 addition & 0 deletions pyedr/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include ../README.rst ../LICENSE.txt
include ../ChangeLog ../AUTHORS
include setup.py setup.cfg
4 changes: 4 additions & 0 deletions pyedr/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ install_requires =
[options.extras_require]
test =
pytest

[pbr]
skip_authors = True
skip_changelog = True

0 comments on commit ccfdc89

Please sign in to comment.