Skip to content

Commit ccfdc89

Browse files
authored
Fix deploy, add formatted AUTHORS and ChangeLog files (#51)
Fixes #43 #44 * Fix deploy action * Add formatted AUTHORS and ChangeLog files * Complete changelog
1 parent e278a84 commit ccfdc89

File tree

7 files changed

+199
-18
lines changed

7 files changed

+199
-18
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
name: Build and upload to PyPI
22

33
on:
4-
pull_request:
5-
branches:
6-
- "package-*"
74
push:
85
branches:
9-
- "package-*"
6+
- "master"
107
tags:
11-
- "package-*"
8+
- "*"
129
release:
1310
types:
1411
- published
@@ -44,23 +41,15 @@ jobs:
4441
add-pip-as-python-dependency: true
4542
architecture: x64
4643

47-
- name: install_deps
44+
- name: install_and_build_pyedr
4845
run: |
4946
cd pyedr && python -m pip install build
50-
cd panedr && python -m pip install build
47+
python -m build --sdist --wheel --outdir ../dist/
5148
52-
- name: build
49+
- name: install_and_build_panedr
5350
run: |
54-
cd pyedr && python -m build --sdist --wheel --outdir ../dist/
55-
cd panedr && python -m build --sdist --wheel --outdir ../dist
56-
57-
- name: publish_testpypi
58-
# Upload to testpypi on every tag
59-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
60-
uses: pypa/gh-action-pypi-publish@master
61-
with:
62-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
63-
repository_url: https://test.pypi.org/legacy/
51+
cd panedr && python -m pip install build
52+
python -m build --sdist --wheel --outdir ../dist/
6453
6554
- name: publish_pypi
6655
if: github.event_name == 'release' && github.event.action == 'published'

AUTHORS

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
==================
2+
Pyedr and Panedr
3+
==================
4+
5+
Copyright (c) 2016-2022 Jonathan Barnoud and Contributors
6+
7+
Published under the GNU Lesser General Public Licence, version 2.1
8+
9+
10+
Contributors:
11+
12+
* Jonathan Barnoud
13+
* Manuel Nuno Melo
14+
* Max Linke
15+
* Len Kimms
16+
* Bjarne Feddersen
17+
* Oliver Beckstein
18+
* Hugo MacDermott-Opeskin
19+
* Irfan Alibay
20+

ChangeLog

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
# -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
2+
==============================
3+
Pyedr and Panedr CHANGELOG
4+
==============================
5+
6+
The rules for this file:
7+
* release numbering uses semantic versioning 2.0 https://semver.org/
8+
* entries are sorted newest-first.
9+
* summarize sets of changes - don't reproduce every git log comment here.
10+
* don't ever delete anything.
11+
* keep the format consistent (79 char width, M/D/Y date format) and do not
12+
use tabs but use spaces for formatting
13+
* accompany each entry with github issue/PR number (Issue #xyz)
14+
* Note: rules were not applied before v0.6.0
15+
16+
------------------------------------------------------------------------------
17+
18+
15/06/2022 jbarnoud, BFedder, orbeckst, hmacdope, IAlibay
19+
20+
* 0.6.0
21+
22+
Changes
23+
24+
* Add package deployment via github actions (PR #51 and #50)
25+
* Re-reformat packages into pyedr and panedr (PR #50)
26+
* Reformat panedr into two packages: panedr and panedrlite (PR #42)
27+
* Add GitHub actions workflow for CI (PR #32)
28+
* fixed setup.cfg for installing from source (PR #28)
29+
30+
Fixes
31+
32+
* Fix coverage issues and add coveragerc (PR #47)
33+
34+
13/01/2019 jbarnoud
35+
36+
* 0.5.2
37+
38+
Changes
39+
40+
* Fix typo in \_\_version\_\_
41+
* Fix typo in \_\_version\_\_
42+
43+
44+
11/01/2019 jbarnoud
45+
46+
* 0.5.1
47+
48+
Changes
49+
50+
* Ignore python3 bytecode in the repo
51+
* Hopefully allow deploy on tags
52+
53+
54+
11/01/2019 jbarnoud, ezavod
55+
56+
* 0.5.0
57+
58+
Changes
59+
60+
* Add correct handling of blocks and subblocks
61+
* Fix pypi password for deployment
62+
* Deploy on the real pypi
63+
* Only deploy master
64+
* Fix typo in trove classifiers
65+
* User correctly encrypted password for deploy
66+
* Skip file generation by pbr
67+
* Allow deployment on the pbr branch
68+
* Try automatic deploy
69+
* Restore the extra test requirements
70+
* Move versioning to pbr
71+
* fix: Initiate an empty frame for each new frame
72+
* fix: Add correct handling of blocks and subblocks
73+
* Bump version to 0.4.0
74+
* Tell travis to use ubuntu xenial
75+
* Add python 3.7 to travis
76+
* Fix compatibility issues with python 3.7
77+
78+
79+
20/12/2018 jbarnoud
80+
81+
* 0.4.0
82+
83+
Changes
84+
85+
* Fix a typo in the install, bump to 0.3.1
86+
87+
88+
20/09/2018 jbarnoud, mnmelo, kain88-de
89+
90+
* 0.3
91+
92+
Changes
93+
94+
* Bumb version number to 0.3
95+
* Tell travis about the move of the tests
96+
* Move the tests out of the package
97+
* Travis install pathlib backport on python 2.7
98+
* Accept \`pathlib.Path\` as an argument for edr\_to\_df
99+
* Bump minimum python3 version to 3.5
100+
* Remove pandas \`as\_matrix() deprecated method
101+
* Update README to refect the use of pytest
102+
* update python version in ci
103+
* add manifest
104+
* Test cleanup
105+
* Try using py.test instead of pytest
106+
* Moved to pytest testing
107+
* Added double-precision support
108+
* Remove the now unused Enxnms named tuple
109+
* Move to a more object oriented architecture
110+
* Fix a typo in the README
111+
112+
113+
15/01/2016 jbarnoud
114+
115+
* 0.2
116+
117+
Changes
118+
119+
* Move to version 0.2
120+
* Ignore gromacs backup files
121+
* Do not write an incomplete frame
122+
* Add test for the progress display in verbose mode
123+
* Replace the test file for regular dt
124+
* Add a verbose mode
125+
126+
127+
13/01/2016 jbarnoud
128+
129+
* 0.1.1
130+
131+
Changes
132+
133+
* Move to v0.1.1 and add \_\_version\_\_
134+
* Update README to account for inclusion in PyPi
135+
* Make the wheels universal
136+
137+
138+
13/01/2016 jbarnoud
139+
140+
* 0.1
141+
142+
Changes
143+
144+
* Prepare repo for inclusion in PyPi
145+
* Python 3.2 is not supported
146+
* Fix errors in .travis.yml
147+
* Add TravisCI badge in the README
148+
* Set up TravisCI
149+
* Add tests
150+
* Add a gitignore file
151+
* Fix typo in docstring
152+
* Adapt example to reflect unicode column names
153+
* Revert license change of format in the README
154+
* Update the README
155+
* Fix unicode issues
156+
* Panedr is now a proper package with setup.py
157+
* Add a module docstring
158+
* Remove the initial notebook
159+
* Add the licence on top of the library
160+
* Add a README and a license
161+
* Translate prototype to a library
162+
* Initial commit

panedr/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include ../README.rst ../LICENSE.txt
2+
include ../ChangeLog ../AUTHORS
23
include setup.py setup.cfg

panedr/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ install_requires =
3333
[options.extras_require]
3434
test =
3535
pytest
36+
37+
[pbr]
38+
skip_authors = True
39+
skip_changelog = True

pyedr/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include ../README.rst ../LICENSE.txt
2+
include ../ChangeLog ../AUTHORS
23
include setup.py setup.cfg

pyedr/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ install_requires =
3232
[options.extras_require]
3333
test =
3434
pytest
35+
36+
[pbr]
37+
skip_authors = True
38+
skip_changelog = True

0 commit comments

Comments
 (0)