Skip to content

Commit

Permalink
Merge pull request #1 from RemiLehe/packaging-with-pbr
Browse files Browse the repository at this point in the history
A few suggestions for packaging with pbr
  • Loading branch information
t184256 authored Nov 23, 2017
2 parents 46093f4 + c2636bb commit b48a957
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ before_script:

script:
# execute actual scripts
- ./openpmd_validator/createExamples_h5.py
- ./openpmd_validator/check_h5.py -i example.h5 --EDPIC
- python setup.py install
- openPMD_createExamples_h5
- openPMD_check_h5 -i example.h5 --EDPIC
Empty file added openpmd_validator/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion openpmd_validator/createExamples_h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def write_rho_cylindrical(meshes, mode0, mode1):

# Create the dataset (cylindrical with azimuthal modes up to m=1)
# The first axis has size 2m+1
rho.attrs["geometry"] = np.string_("cylindrical")
rho.attrs["geometry"] = np.string_("thetaMode")
rho.attrs["geometryParameters"] = np.string_("m=1; imag=+")

# Add information on the units of the data
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ classifier =
Topic :: Scientific/Engineering :: Physics

[files]
packages = opmd_validator
packages = openpmd_validator

[entry_points]
console_scripts =
openPMD_check_h5 = opmd_validator.check_h5:main
openPMD_createExamples_h5 = opmd_validator.createExamples_h5:main
openPMD_check_h5 = openpmd_validator.check_h5:main
openPMD_createExamples_h5 = openpmd_validator.createExamples_h5:main

0 comments on commit b48a957

Please sign in to comment.