Skip to content

Commit 5c868d1

Browse files
author
Andrew Yang
committed
Add rever.xsh, news
1 parent 9aa595e commit 5c868d1

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

news/loaddata_headers.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**Added**
2+
- CI Coverage.
3+
- New tests for loadData function.
4+
- loadData function now toggleable. Can return either (a) data read from data blocks or (b) header
5+
information stored above the data block.
6+
7+
**Removed**
8+
- Remove use of pkg_resources (deprecated).
9+
- No longer use Travis.

news/setup_rever.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
***Added***
2+
- Compatibility with Python 3.10, 3.9, 3.8
3+
4+
***Removed***
5+
- Remove the support for Python 3.5, 3.6.

news/support-py2-and-py3.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
***Added***
2+
- Compatibility with Python 3.7, 3.6, 3.5 in addition to 2.7.
3+
4+
***Changed***
5+
- Switch to platform-independent "noarch" Anaconda package.
6+
7+
***Deprecated***
8+
- Variable `__gitsha__` in the `version` module which was renamed
9+
to `__git_commit__`.

rever.xsh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
$PROJECT = 'diffpy.utils'
2+
$ACTIVITIES = [
3+
'tag', # Creates a tag for the new version number
4+
'push_tag', # Pushes the tag up to the $TAG_REMOTE
5+
'pypi', # Sends the package to pypi
6+
'ghrelease' # Creates a Github release entry for the new tag
7+
]
8+
$PUSH_TAG_REMOTE = '[email protected]:diffpy/diffpy.utils.git' # Repo to push tags to
9+
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
10+
$GITHUB_REPO = 'diffpy.utils' # Github repo for Github releases and conda-forge
11+
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
12+
13+
The release is also available at [PyPI](https://pypi.org/project/diffpy.pdffit2/) and [Conda](https://anaconda.org/conda-forge/diffpy.pdffit2).
14+
""" # release message

0 commit comments

Comments
 (0)