-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5278f09
commit 832512e
Showing
5 changed files
with
96 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Release checklist | ||
----------------- | ||
|
||
To create a release, simply create a tag that starts with 'v' (e.g. 'v2.0.0'):: | ||
|
||
git tag -a "v2.0.0" | ||
git push origin "v2.0.0" | ||
|
||
The package will be automatically tested, released on GitHub and uploaded to PyPI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
sphinx >= 3 | ||
sphinx_rtd_theme >= 0.4 | ||
pytest >= 6 | ||
wheel | ||
# Optional requirements used for tests | ||
biopython >= 1, <2 | ||
ase >= 3, <4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
Extract the changes from last release | ||
""" | ||
|
||
import sys | ||
|
||
if __name__ == "__main__": | ||
filename = sys.argv[1] | ||
|
||
with open(filename, mode="r") as f: | ||
|
||
# Look for the first second-level title | ||
for line in f: | ||
if line.startswith("Release"): | ||
break | ||
|
||
print(line, end="") | ||
for line in f: | ||
if not line.startswith("Release"): | ||
print(line, end="") | ||
else: | ||
# Exit gracefully | ||
sys.exit(0) | ||
# There was a problem: Exit with error | ||
sys.exit(-1) |