Skip to content

Commit

Permalink
Merge pull request #259 from nlesc-nano/release
Browse files Browse the repository at this point in the history
REL: Release Auto-FOX 0.10.0
  • Loading branch information
BvB93 authored Nov 17, 2021
2 parents bbe36c7 + 7f99bbc commit 51bf9d8
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 15 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish

on:
release:
types: [published, edited]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2

- name: Install dependencies
run: pip install wheel twine

- name: Python info
run: |
which python
python --version
- name: Installed packages
run: pip list

- name: Build the package
run: python setup.py sdist bdist_wheel

- name: Publish the package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
else
pip install -e .[test_no_optional]
fi
pip install auto-FOX-data@git+https://github.com/nlesc-nano/[email protected]
- name: Info Python
shell: bash
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ All notable changes to this project will be documented in this file.
This project adheres to `Semantic Versioning <http://semver.org/>`_.


0.10.0
******
* Add a new ``MultiMolecule`` method for constructing supercells.
* Add a timestep parameter to ``MultiMolecule.init_power_spectrum``.
* Fixed an issue wherein ``init_power_spectrum`` could raise when the atom subset is specified.
* Raise a ``ValueError`` if an atom type with multiple charges is found.
* Fixed an issue wherein net charges weren't properly conserved in PES-averaged ARMC.
* Allow users to pass custom error functions.
* Make rdkit an optional dependency.
* Fixed an issue wherein auto-FOX would not check the status of jobs.
* Add the new atom_pairs keyword to init_rdf and init_adf.
* Round the net charge to the nearest integer.


0.9.1
*****
* Added the new ``segment_dict`` parameter to the ``PSFContainer.generate_x()`` functions.
Expand Down
2 changes: 1 addition & 1 deletion FOX/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The Auto-FOX version."""

__version__ = '0.9.1'
__version__ = '0.10.0'
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
.. image:: https://img.shields.io/badge/python-3.9-blue.svg
:target: https://docs.python.org/3.9/

#################################################
Automated Forcefield Optimization Extension 0.9.1
#################################################
##################################################
Automated Forcefield Optimization Extension 0.10.0
##################################################

**Auto-FOX** is a library for analyzing potential energy surfaces (PESs) and
using the resulting PES descriptors for constructing forcefield parameters.
Expand Down Expand Up @@ -93,7 +93,7 @@ Installing **Auto-FOX**

- If using Conda, enable the environment: ``conda activate FOX``

- Install **Auto-FOX** with PyPi: ``pip install git+https://github.com/nlesc-nano/auto-FOX@0.9 --upgrade``
- Install **Auto-FOX** with PyPi: ``pip install auto-FOX --upgrade``

- Congratulations, **Auto-FOX** is now installed and ready for use!

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
release = '0.9.1' # The full version, including alpha/beta/rc tags.
release = '0.10.0' # The full version, including alpha/beta/rc tags.
version = release.rsplit('.', maxsplit=1)[0] # The short X.Y version.


Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[metadata]
description_file = README.rst
license_file = LICENSE

[aliases]
# Define `python setup.py test`
Expand Down
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
tests_require_no_optional = [
'pytest>=5.4.0',
'pytest-cov',
'auto-FOX-data@git+https://github.com/nlesc-nano/[email protected]',
]
tests_require = [
'ase>=3.21.1',
'CAT@git+https://github.com/nlesc-nano/CAT@master',
'nlesc-CAT>=0.10.0',
]
tests_require += tests_require_no_optional
tests_require += docs_require
Expand Down Expand Up @@ -85,7 +84,7 @@
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: Unix',
'Operating System :: MacOS',
Expand All @@ -109,12 +108,9 @@
'AssertionLib>=2.3',
'noodles>=0.3.3',
'h5py>=2.10',
'qmflows@git+https://github.com/SCM-NV/qmflows@master',
'qmflows>=0.11.0',
'plams>=1.5.1',
],
setup_requires=[
'pytest-runner'
],
tests_require=tests_require,
extras_require={
'docs': docs_require,
Expand Down

0 comments on commit 51bf9d8

Please sign in to comment.