Closed bjuergens closed 4 years ago
for getting the version I followed this example on stackoverflow, but instead of parsing the file as a string, I used the ast
module.
Many thanks!
Can I ask you to update the code formatting style to conform to what is being used in csa? I'm thinking of line 12 in setup.py which is currently:
__version__ = ast.parse(open("csa/version.py").read()).body[0].value.s
but should be:
__version__ = ast.parse (open ("csa/version.py").read ()).body[0].value.s
?
Best regards, Mikael
done
This PR closes https://github.com/INCF/csa/issues/19
I tested this with this Dockerfile:
Run this dockerfile with:
docker build -t csa_test . && docker run -it csa_test