Skip to content

Commit

Permalink
Add rever.xsh, news
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Yang committed Sep 15, 2023
1 parent 9aa595e commit 5c868d1
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions news/loaddata_headers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**Added**
- CI Coverage.
- New tests for loadData function.
- loadData function now toggleable. Can return either (a) data read from data blocks or (b) header
information stored above the data block.

**Removed**
- Remove use of pkg_resources (deprecated).
- No longer use Travis.
5 changes: 5 additions & 0 deletions news/setup_rever.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
***Added***
- Compatibility with Python 3.10, 3.9, 3.8

***Removed***
- Remove the support for Python 3.5, 3.6.
9 changes: 9 additions & 0 deletions news/support-py2-and-py3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
***Added***
- Compatibility with Python 3.7, 3.6, 3.5 in addition to 2.7.

***Changed***
- Switch to platform-independent "noarch" Anaconda package.

***Deprecated***
- Variable `__gitsha__` in the `version` module which was renamed
to `__git_commit__`.
14 changes: 14 additions & 0 deletions rever.xsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$PROJECT = 'diffpy.utils'
$ACTIVITIES = [
'tag', # Creates a tag for the new version number
'push_tag', # Pushes the tag up to the $TAG_REMOTE
'pypi', # Sends the package to pypi
'ghrelease' # Creates a Github release entry for the new tag
]
$PUSH_TAG_REMOTE = 'git@github.com:diffpy/diffpy.utils.git' # Repo to push tags to
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'diffpy.utils' # Github repo for Github releases and conda-forge
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
The release is also available at [PyPI](https://pypi.org/project/diffpy.pdffit2/) and [Conda](https://anaconda.org/conda-forge/diffpy.pdffit2).
""" # release message

0 comments on commit 5c868d1

Please sign in to comment.