Skip to content

Commit

Permalink
Changes according to @giovannipizzi and @ltalirz
Browse files Browse the repository at this point in the history
Changed to relative links for files in repo.
Updated reasoning point behind leaving out export version 0.1 file.
Added `MANIFEST.in` to get all `*.aiida` files in the dist package.
Changed the name to `aiida-export-migration-tests`.

Note: Adding `MANIFEST.in` is not enough, one must also add `include_package_data=True`
in the setup function in `setup.py`
  • Loading branch information
CasperWA committed Apr 25, 2019
1 parent dbbc678 commit 42c6b60
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 8 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include aiida-export-migration-tests/fixtures/*.aiida
include .qm/*.py
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ including when tests for the different export versions are first included.

| This module | AiiDA | Export versions (when first included) |
| ----------- | ----- | ------------------------------------- |
| 0.1.0 | [1.0.0](https://github.com/aiidateam/aiida_core/releases/tag/v1.0.0) | 0.1 -> 0.2 , 0.2 -> 0.3 , 0.3 -> 0.4 |
| 0.1.0 | [1.0.0](https://github.com/aiidateam/aiida_core/releases/tag/v1.0.0) | 0.1 -> 0.2 ; 0.2 -> 0.3 ; 0.3 -> 0.4 |

## Q&A

Expand Down Expand Up @@ -63,7 +63,7 @@ PR [#2478](https://github.com/aiidateam/aiida_core/pull/2478)).
\*Due to the following reasons, we decided **not** to invest an effort in making
the representative archive migration for 0.1:

1. AiiDA 0.6.0.1 was never released on PyPi.
1. The earliest version released on PyPi is 0.8.0rc1 (22.03.2017).
1. The previous stable version (AiiDA 0.5.0) was not working in a virtual environment.
1. The migration from v0.1 to v0.2 is small and quite simple.
If an export file should be found that cannot be properly migrated, due to this step,
Expand All @@ -82,9 +82,9 @@ and correspond to the following export versions and
| Export version | Workflow | Run workflow script | Quantum Mobile |
| -------------- | -------- | ------------------- | -------------- |
| ~~v0.1~~* | - | - | - |
| v0.2 | [wf.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/wf.py) | [run_wf.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/run_wf.py) | [historical_aiida_0.9.1](https://github.com/marvel-nccr/quantum-mobile/tree/historical_aiida_0.9.1) |
| v0.3 | [wf.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/wf.py) | [run_wf.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/run_wf.py) | [v19.03.0](https://github.com/marvel-nccr/quantum-mobile/releases/tag/19.03.0) |
| v0.4 | [wf_aiida_1.0.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/wf_aiida_1.0.py) | [run_wf_aiida_1.0.py](https://raw.githubusercontent.com/aiidateam/aiida-export_migration-testing/v0.1.0/.qm/run_wf_aiida_1.0.py) | _in development_ |
| v0.2 | [wf.py](.qm/wf.py) | [run_wf.py](.qm/run_wf.py) | [historical_aiida_0.9.1](https://github.com/marvel-nccr/quantum-mobile/tree/historical_aiida_0.9.1) |
| v0.3 | [wf.py](.qm/wf.py) | [run_wf.py](.qm/run_wf.py) | [v19.03.0](https://github.com/marvel-nccr/quantum-mobile/releases/tag/19.03.0) |
| v0.4 | [wf_aiida_1.0.py](.qm/wf_aiida_1.0.py) | [run_wf_aiida_1.0.py](.qm/run_wf_aiida_1.0.py) | _in development_ |

\*See section _Release notes#0.1.0 (April 2019)_.

Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
from __future__ import absolute_import
from setuptools import setup, find_packages

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="aiida-export_migration-testing",
name="aiida-export-migration-tests",
version="0.1.0",
author="The AiiDA team",
author_email="[email protected]",
description="Export migrations tests for AiiDA",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/aiidateam/aiida-export-migration-tests",
packages=find_packages(),
license="MIT Licence",
author="The AiiDA team",
install_requires=["aiida-core>=1.0.0"])
include_package_data=True)

0 comments on commit 42c6b60

Please sign in to comment.