From 4fbe0f6b33b12ff641f6f6eb6e9faccfe6947f00 Mon Sep 17 00:00:00 2001 From: Davide Brunato Date: Mon, 13 Dec 2021 15:16:41 +0100 Subject: [PATCH] Add missing files to repo and package - Update to bugfix release v1.2.1 - Add MANIFEST.in to repository - add qeschema/schemas/releases/*.xsd to package --- .gitignore | 1 + MANIFEST.in | 13 +++++++++++++ docs/conf.py | 2 +- qeschema/__init__.py | 2 +- setup.py | 4 ++-- 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 MANIFEST.in diff --git a/.gitignore b/.gitignore index 81b163f..5ca9039 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *~ *.swp *.in +!MANIFEST.in .tox/ *.egg-info .idea/ diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..34055d6 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,13 @@ +include LICENSE +include MANIFEST.in +include README.rst +include setup.py +include requirements-dev.txt +include tox.ini +include docs/* +recursive-include qeschema * +include scripts/* +recursive-include tests * + +global-exclude __pycache__ +global-exclude *.py[cod] diff --git a/docs/conf.py b/docs/conf.py index 16ff381..01418d5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = 'Davide Brunato, Pietro Delugas' # The full version, including alpha/beta/rc tags -release = '1.2.0' +release = '1.2.1' # -- General configuration --------------------------------------------------- diff --git a/qeschema/__init__.py b/qeschema/__init__.py index de06f4c..9b8edf4 100644 --- a/qeschema/__init__.py +++ b/qeschema/__init__.py @@ -14,7 +14,7 @@ from .exceptions import QESchemaError, XmlDocumentError from .utils import set_logger -__version__ = '1.2.0' +__version__ = '1.2.1' __all__ = [ 'XmlDocument', 'QeDocument', 'PwDocument', 'PhononDocument', 'NebDocument', diff --git a/setup.py b/setup.py index 86d6604..71ddb19 100644 --- a/setup.py +++ b/setup.py @@ -15,10 +15,10 @@ setup( name='qeschema', - version='1.2.0', + version='1.2.1', install_requires=['xmlschema>=1.3.0', 'pyyaml', 'numpy'], packages=['qeschema'], - package_data={'qeschema': ['schemas/*.xsd']}, + package_data={'qeschema': ['schemas/*.xsd', 'schemas/releases/*.xsd']}, scripts = ['scripts/xml2qeinput.py', 'scripts/yaml2qeinput.py'], url='https://github.com/QEF/qeschema', license='MIT',