Skip to content

Commit

Permalink
Merge pull request #107 from nlesc-nano/release
Browse files Browse the repository at this point in the history
REL: Release nano-CAT 0.7.0
  • Loading branch information
BvB93 authored Nov 17, 2021
2 parents 9a11861 + a4d8e87 commit cbad6ff
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 29 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 }}
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Change Log
All notable changes to this project will be documented in this file.
This project adheres to `Semantic Versioning <http://semver.org/>`_.

0.7.0
*****
* Added a new fast-bulkiness workflow.
* Added a new COSMO-RS recipe.
* Various fixes.


0.6.1
*****
* Added a new conceptual DFT (CDFT) workflow.
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


##############
Nano-CAT 0.6.4
Nano-CAT 0.7.0
##############

**Nano-CAT** is a collection of tools for the analysis of nanocrystals,
Expand Down Expand Up @@ -51,7 +51,7 @@ Package installation
--------------------
Finally, install **Nano-CAT** using pip:

- **Nano-CAT**: ``pip install git+https://github.com/nlesc-nano/nano-CAT@master --upgrade``
- **Nano-CAT**: ``pip install nano-CAT --upgrade``

Now you are ready to use **Nano-CAT**.

Expand Down
2 changes: 1 addition & 1 deletion nanoCAT/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.6.4'
__version__ = '0.7.0'
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[metadata]
description-file = README.rst
description_file = README.rst
license_file = LICENSE.md

[aliases]
# Define `python setup.py test`
Expand Down
19 changes: 6 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Chemistry',
'License :: OSI Approved :: GNU Lesser General Public License',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Typing :: Typed',
],
test_suite='tests',
python_requires='>=3.7',
Expand All @@ -68,24 +69,16 @@
'noodles',
'more-itertools',
'plams>=1.5.1',
'qmflows@git+https://github.com/SCM-NV/qmflows@master',
'CAT@git+https://github.com/nlesc-nano/CAT@master',
'Auto-FOX@git+https://github.com/nlesc-nano/auto-FOX@master',
],
setup_requires=[
'pytest-runner'
'qmflows>=0.11.0',
'nlesc-CAT>=0.10.0',
'Auto-FOX>=0.10.0',
],
tests_require=[
'pytest',
'pytest-cov',
'flake8',
],
extras_require={
'test': [
'pytest',
'pytest-cov',
'pytest-mock',
'CAT@git+https://github.com/nlesc-nano/CAT@master',
],
'test': ['pytest', 'pytest-cov', 'pytest-mock'],
}
)

0 comments on commit cbad6ff

Please sign in to comment.