Skip to content

Commit

Permalink
v0.9.2 (#55)
Browse files Browse the repository at this point in the history
- Optimised CIF reader considerably (#50)
- Updated PXRD calculator to allow for partial occupancy, monochromated beam angles and text export, and added ``pxrd_calculator`` script for convenience when handling CIF files (#50)
- Added ability to choose which projectors are plotted with dispersion (#47)
- Various minor fixes and updates:

    - Updates to docs for CLI and configuration.
    - Allow nan-values to be reset inside :class:`matador.crystal.Crystal`.
    - Fixed display ordering of fingerprint-filtered cursors.
  • Loading branch information
ml-evs committed Jun 1, 2020
1 parent 96b9397 commit df103fd
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
@@ -1,6 +1,19 @@
Changelog
=========

New in release (0.9.2) [01/06/2020]
-----------------------------------

- Optimised CIF reader considerably (#50)
- Updated PXRD calculator to allow for partial occupancy, monochromated beam angles and text export, and added ``pxrd_calculator`` script for convenience when handling CIF files.
- Added ability to choose which projectors are plotted with dispersion (#47)
- Various minor fixes and updates:

- Updates to docs for CLI and configuration.
- Allow nan-values to be reset inside :class:`matador.crystal.Crystal`.
- Fixed display ordering of fingerprint-filtered cursors.


New in release (0.9.1) [20/05/2020]
-----------------------------------

Expand Down
5 changes: 3 additions & 2 deletions MANIFEST.in
@@ -1,8 +1,9 @@
recursive-include matador/config *
recursive-include docs *
recursive-include matador/tests/data *
recursive-include matador/data *
recursive-include matador/data/atomic_scattering *.dat
recursive-include requirements/ *
include matador/data/nouns
include matador/data/words
include README.rst
include CHANGELOG.rst
include INSTALL.rst
Expand Down
3 changes: 1 addition & 2 deletions matador/__init__.py
Expand Up @@ -11,7 +11,6 @@
__all__ = ['__version__']
__author__ = 'Matthew Evans'
__maintainer__ = 'Matthew Evans'

__version__ = "0.9.1"
__version__ = "0.9.2"

script_epilog = f"Written and maintained by Matthew Evans (me388@cam.ac.uk) 2016-2020, version {__version__}."
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -16,7 +16,7 @@
extra_requirements = dict(all=[])
req_files = glob('requirements/*.txt')
for _file in req_files:
if _file != 'requirements/requirements.txt':
if _file not in ['requirements/requirements.txt', 'requirements/pip_requirements.txt']:
with open(_file, 'r') as f:
subreq = _file.split('/')[-1].split('_')[0]
extra_requirements[subreq] = [line.strip() for line in f.readlines()]
Expand Down
11 changes: 11 additions & 0 deletions tasks.py
@@ -0,0 +1,11 @@
""" Some tasks for deployment to PyPI/TestPyPI. """


from invoke import task


@task
def publish_to_pypi(c, test=False):
c.run("rm -rf build dist", warn=True)
c.run("python setup.py sdist bdist_wheel")
c.run("twine upload --verbose dist/*" + " --repository-url https://test.pypi.org/legacy/" if test else "")

0 comments on commit df103fd

Please sign in to comment.